bugfindutils - Bugs: bug #16605, Delimiter option is wrong

 
 

bug #16605: Delimiter option is wrong

Submitter:  None
Submitted:  Tue 16 May 2006 08:09:12 PM UTC
   
 
Category:  xargs Severity:  3 - Normal
Item Group:  Wrong result Status:  Invalid
Privacy:  Public Assigned to:  jay
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.2.27
Fixed Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 14 Jun 2006 09:26:27 PM UTC, comment #2: 

Yes, -d affects the way the input is treated.  The output of xargs is a sequenc eof program invocations, and they way you invoke the program (the default program is echo) determines the output format.

James Youngman <jay>
Group administrator
Tue 16 May 2006 08:50:43 PM UTC, comment #1: 

You are misinterpreting the documentation.  Try this:
$ echo $PATH | xargs -d:

Anonymous
Tue 16 May 2006 08:09:12 PM UTC, original submission:  

on the man page I read:

--delimiter=delim, -d delim
              Input items are terminated by the specified character. (...)

when I run:

$find /usr/share/java | xargs -d :

this is the output:

/usr/share/java/antlr.debug.jar
/usr/share/java/antlr.jar
/usr/share/java/com-sun-javadoc.jar
/usr/share/java/antlrall.jar
(...)

while the following was expected:

/usr/share/java/antlr.debug.jar:/usr/share/java/antlr.jar:/usr/share/java/com-sun-javadoc.jar:/usr/share/java/antlrall.jar:(...)


Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-06-14 jay StatusNone Invalid
    Assigned toNone jay
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.15-b2d0.
Corresponding source code