bugfindutils - Bugs: bug #18713, "" or '' at the end of...


bug #18713: "" or '' at the end of xargs input doesn't generate an empty argument

Submitted by:  None
Submitted on:  Sat 06 Jan 2007 08:42:31 PM UTC  
Category:  xargs Severity:  3 - Normal
Item Group:  Wrong result Status:  Fixed
Privacy:  Public Assigned to:  James Youngman <jay>
Originator Name:  Stephane Chazelas Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.2.29
Fixed Release:  4.3.3

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 07 Jan 2007 06:11:58 PM UTC, comment #1: 

The situation appears to be the same for initial quoted but empty arguments, too.  Fixed in the CVS code for xargs 4.3.x.  The next release in that series will be 4.3.3.  A patch is attached.

(file #11691)

James Youngman <jay>
Project AdministratorIn charge of this item.
Sat 06 Jan 2007 08:42:31 PM UTC, original submission:  

~$ echo 'foo ""' | xargs printf '<%s>\n'

While the following should have been output:

It's OK when followed with something:

~$ echo 'foo "" bar' | xargs printf '<%s>\n'
~$ echo 'foo "" ' | xargs printf '<%s>\n'



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #11691:  sv-bug-18713.patch added by jay (5KiB - text/x-diff - Patch for findutils-4.3.x.)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jay (Updated the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-04-15 jay Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.3.3
    2007-01-07 jay Attached File- => Added sv-bug-18713.patch, #11691
        StatusNone => Fixed
        Assigned toNone => jay

    Back to the top

    Powered by Savane 3.5