bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

coreutils 6.9 and yes


From: Elan Ruusamäe
Subject: coreutils 6.9 and yes
Date: Fri, 25 May 2007 13:45:36 +0300
User-agent: PLD Linux KMail/1.9.7

`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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]