On 04/27/2011 05:23 PM, J.T. Conklin wrote:
For backwards compatibility, the 4.4BSD join used by NetBSD supports a "-a" option as if it was "-a 1 -a 2". Unfortunately, this was done in such a way that "-a 1" and "-a 2" need to be passed as "-a1" or "-a2".
Ouch, so BSD has optional arguments in getopt, and yet implemented sed -i in a way that is incompatible with GNU sed? Way to go...
Paolo