writing redo, I’ve had a chance to start writing a few more shell scripts that aim for maximum portability, and from there, I’ve learned some really cool tricks that I haven’t seen documented elsewhere. Here are a few. 1. Removing prefixes and suffixes This is a super common requirement. For example, given a *.c filename, you wa

writing redo, I’ve had a chance to start writing a few more shell scripts that aim for maximum portability, and from there, I’ve learned some really cool tricks that I haven’t seen documented elsewhere. Here are a few. 1. Removing prefixes and suffixes This is a super common requirement. For example, given a *.c filename, you wa

apenwarr - Business is Programming

Written on February 28, 2011