`yes` from coreutils is incompatible with coreutils 5.2.1:

5.2.1:
$ yes -v | head -n3
-v
-v
-v
$ yes -- -v | head -n3
-- -v
-- -v
-- -v

6.9:
$ yes -- -v | head -n3
-v
-v
-v
$ yes -v | head -n3
yes: invalid option -- v
Try `yes --help' for more information.


$ LC_ALL=C yes -v
yes: invalid option -- v
 
so how this can be invalid option if there is no short options at all in yes 
binary (nor in manual or --help output)

with such incompatabilities it's not possible to write portable code :/

-- 
glen


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to