On 2/29/24 19:11, Rob Landley wrote:
> Ok, optional longopts need to be attached too. Still doesn't explain the
> difference in quote output...

$ getopt -lx abc blah
 -- 'blah'
$ getopt -a abc hello
 -- 'hello'
$ getopt -npotato abc hello
 -- 'hello'
$ getopt -s sh abc hello
 -- 'hello'
$ getopt abc hello
 -- hello

If you have ANY options, it defaults to quoted output. If you have no options,
it doesn't quote the output.

Because gnu.

Rob
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to