Bug 4711 - xargs -i doesn't do what I expect
Summary: xargs -i doesn't do what I expect
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: findutils   
(Show other bugs)
Version: 6.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Keywords:
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:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-08-26 21:55:19 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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.