Update of bug #19904 (project findutils):

                  Status:                    None => Invalid                
             Assigned to:                    None => jay                    

    _______________________________________________________

Follow-up Comment #2:

I believe you have misunderstood how the -d option works.   If you use "xargs
-d '<SPACE>'" then newline is not a separator.  The "extra" newline is simply
the last character in the last argument.   

This example may make this clearer for you:

$ printf "foo bar\nbaz ugh quux\n"    | ./xargs  -n1 -d ' ' echo X
X foo
X bar
baz
X ugh
X quux

$ echo "foo bar" | tr -d '\n'  | ./xargs -n1  -d ' ' echo ZZZ
ZZZ foo
ZZZ bar


    _______________________________________________________

Reply to this item at:

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

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



_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to