Bug 4711 - xargs -i doesn't do what I expect
Summary: xargs -i doesn't do what I expect
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: findutils
Version: 6.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-08-26 00:08 UTC by jeastmond
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1999-08-26 21:55:19 UTC
Embargoed:


Attachments (Terms of Use)

Description jeastmond 1999-08-26 00:08:06 UTC
Running the command line:

echo "a b c" | xargs -n1 -i echo {}

gives

a b c

instead of

a
b
c

Comment 1 Jeff Johnson 1999-08-26 21:55:59 UTC
Try
	echo a b c | tr ' ' '\n' | xargs -n1 -i echo {}


Note You need to log in before you can comment on or make changes to this bug.