Package: util-linux Version: 2.17.2-9.1 Hi!
I've just played a bit with `getopt' and get unexpected output whith optional arguments: jbglaw@jblaptop:~$ getopt -o '' -l 'noo,aa,foo' -- --foo ss -- bling --foo -- 'ss' 'bling' jbglaw@jblaptop:~$ getopt -o '' -l 'noo,aa,foo:' -- --foo ss -- bling --foo 'ss' -- 'bling' jbglaw@jblaptop:~$ getopt -o '' -l 'noo,aa,foo::' -- --foo ss -- bling --foo '' -- 'ss' 'bling' I would have expected the 2nd and 3rd invocation to generate the same output (thus, to place `ss' behind `--foo', as it was done only in #2). Looks like a bug? Or did I mis-read the man page? MfG, JBG -- Jan-Benedict Glaw jbg...@lug-owl.de +49-172-7608481 Signature of: http://perl.plover.com/Questions.html the second :
signature.asc
Description: Digital signature