bug-findutils
[Top][All Lists]
Advanced

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

[bug #18714] <VT> and <FF> also seen as separators by GNU xargs


From: anonymous
Subject: [bug #18714] <VT> and <FF> also seen as separators by GNU xargs
Date: Sat, 06 Jan 2007 20:51:04 +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/?18714>

                 Summary: <VT> and <FF> also seen as separators by GNU xargs
                 Project: findutils
            Submitted by: None
            Submitted on: Saturday 01/06/2007 at 20:51 UTC
                Category: xargs
                Severity: 3 - Normal
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Stephane Chazelas
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.29
           Fixed Release: None

    _______________________________________________________

Details:

xargs is meant to only recognise blanks, that is <SPC>, <NL> and <TAB> as
separators in the arguments it receives on input.

GNU xargs happens to also treat all the other space characters (vertical tab
(\v), carriage return (\r), form feed (\f)) as separators which is wrong.

~$ printf '\f\r\va' | xargs printf %s | od -tc
0000000   a
0000001

Should output instead:

~$ printf '\f\r\va' | od -tc
0000000  \f  \r  \v   a
0000004




    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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