Process substitution in bash
Posted in Miscellaneous on January 4th, 2010 1 Comment »
There’s a very clever syntax in bash (and several other unix shells) that allows the output / input for subcommands to be hooked together. http://tldp.org/LDP/abs/html/process-sub.html This can be used to secure mysql passwords in scripts. e.g. mysql –defaults-file=