bug-coreutils
[Top][All Lists]
Advanced

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

xargs -i vs. -n


From: Dan Jacobson
Subject: xargs -i vs. -n
Date: Sun, 15 Jun 2003 03:51:34 +0800
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

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





reply via email to

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