bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #18713] "" or '' at the end of xargs input doesn't generate an empt


From: anonymous
Subject: [bug #18713] "" or '' at the end of xargs input doesn't generate an empty argument
Date: Sat, 06 Jan 2007 20:42:32 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-1)

URL:
  <http://savannah.gnu.org/bugs/?18713>

                 Summary: "" or '' at the end of xargs input doesn't generate
an empty argument
                 Project: findutils
            Submitted by: None
            Submitted on: Saturday 01/06/2007 at 20:42 UTC
                Category: xargs
                Severity: 3 - Normal
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Stephane Chazelas
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.29
           Fixed Release: None

    _______________________________________________________

Details:

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

While the following should have been output:
<foo>
<>

It's OK when followed with something:

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






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18713>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]