re: ed package
> > Also a BSD-licensed getopt (and getopt_long) is available in the NetBSD
> > libc.
> But behaves differently to GNU getopt_long, as regards its handling of
> the arguments '-' and '--'
> it does? this sounds like a bug. it should be compatible.
Clearly it would be nice if they were compatible; OTOH persuading
either set of authors that they should use the other set's behaviour
sounds like a loosing battle to me.
please tell me the differences; i can probably get the netbsd one
changed. it is *supposed* to be compatible. it was written so that
we would have a getopt_long() that wasn't GPLed. any difference is
a bug and should be treated as such...