[Top][All Lists]

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

[Dan Jacobson] xargs -i vs. -n

From: Jim Meyering
Subject: [Dan Jacobson] xargs -i vs. -n
Date: Sun, 15 Jun 2003 10:29:03 +0200

--- Begin Message --- Subject: xargs -i vs. -n Date: Sun, 15 Jun 2003 03:51:34 +0800
Sorry I forgot the right bug address already and the xargs man page
has none.

There might be a conflict between xargs -n and -i.

The users wants to do
uuencode .forward .forward
uuencode .procmailrc .procmailrc
but can't get -n 1 to work while -i was there using this:
echo .forward .procmailrc|xargs -n 1 -i uuencode {} {}
so he gave up and used
for i in .forward .procmailrc; do uuencode $i $i; done
http://jidanni.org/ Taiwan(04)25854780

--- End Message ---

reply via email to

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