Bug 65292 - xargs doesn't work with .gnome-desktop
Summary: xargs doesn't work with .gnome-desktop
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: findutils
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-05-21 16:13 UTC by hjl
Modified: 2007-04-18 16:42 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-05-21 16:41:26 UTC
Embargoed:


Attachments (Terms of Use)

Description hjl 2002-05-21 16:13:37 UTC
# cd .gnome-desktop
# ls
hjl's Home  Trash
# ls | xargs ls
xargs: unmatched single quote

Comment 1 Tim Waugh 2002-05-21 16:23:33 UTC
ITYM: find -print0 | xargs ls 
 
xargs interprets quotes in its input---it is correct to complain when they 
don't match up.

Comment 2 hjl 2002-05-21 16:41:20 UTC
It still doesn't work:

# find -type f -print0  | xargs file
./hjls Home: can't stat `./hjls Home' (No such file or directory).


Comment 3 Tim Waugh 2002-05-21 17:09:30 UTC
Use xargs -0.


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