Some of the unix commands are not scripting-friendly. Take "stat -c %s filename" or "md5sum filename." Why do these commands have to print out the <filename> in addition to the size and the md5 checksum of the file, respectively, and give no option to muffle it? I know some unix tools are especially handy and some shells offer ways to manipulate strings. But those shouldn't be the reason to skip the option. In addition to performance cost, they become ugly under excessive use and do not help the reader or the writer trying to improve readability. 10 years ago, I'd love to show off my "skills" but now I just felt disgusted at the lack of consideration. |