This is the mail archive of the
mailing list for the Cygwin project.
xargs: Why does order of command line switches matter?
- From: Ronald Fischer <ynnor at mm dot st>
- To: cygwin at cygwin dot com
- Date: Wed, 25 Apr 2012 12:29:48 +0200
- Subject: xargs: Why does order of command line switches matter?
Why do I get a different output in the following two invocations of
xargs? I had expected that the relative order of the command line
switches (-I, -L) would not matter:
$ ls | xargs -I DIR -L 1 echo DIR
$ ls | xargs -L 1 -I DIR echo DIR
xargs (GNU findutils) 4.5.9
Packaged by Cygwin (4.5.9-2)
Ronald Fischer <firstname.lastname@example.org>
+ If a packet hits a pocket on a socket on a port,
+ and the bus is interrupted and the interrupt's not caught,
+ then the socket packet pocket has an error to report.
+ (cited after Peter van der Linden)
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple