Bug 113807

Summary: find and xargs complain about a missing single quote when none is given
Product: Red Hat Enterprise Linux 2.1 Reporter: Glen A. Foster <glen.foster>
Component: findutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-01-18 22:09:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Glen A. Foster 2004-01-18 16:50:21 UTC
Description of problem: I just ran across this.  It occurs on RHEL2.1
and RHL 7.2 both, but appears to work correctly on RHEL3.

Version-Release number of selected component (if applicable):
# rpm -qf $(which xargs)
findutils-4.1.7-1
# find /home -type f | xargs ls -s
xargs: unmatched single quote

How reproducible: 100%

Steps to Reproduce:
1. run the above command on RHEL 2.1

Comment 1 Tim Waugh 2004-01-18 22:09:01 UTC
One of your files has this quote in.

You probably meant to do:

find /home -type f -print0 | xargs -0 ls -s