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

 
 

bug #16605: Delimiter option is wrong

Submitted by:  None
Submitted on:  Tue 16 May 2006 08:09:12 PM UTC  
 
Category: xargsSeverity: 3 - Normal
Item Group: Wrong resultStatus: Invalid
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 4.2.27
Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 14 Jun 2006 09:26:27 PM UTCjayStatusNone=>Invalid
  Assigned toNone=>jay
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1