bugfindutils - Bugs: bug #14459, xargs --show-limits is undocumented

 
 

bug #14459: xargs --show-limits is undocumented

Submitted by:  None
Submitted on:  Wed 07 Sep 2005 02:39:27 PM UTC  
 
Category: documentationSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Eric BlakeOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.2.25
Fixed Release: 4.2.27

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 04 Dec 2005 03:06:36 AM UTC, comment #1:

The --show-limits option is now documented (the 4.2.27 release will include this documentation) and xargs now issues a reminder message if stdin is a tty and you specified --show-limits.

James Youngman <jay>
Project AdministratorIn charge of this item.
Wed 07 Sep 2005 02:39:27 PM UTC, original submission:

When debugging a recent xargs failure on cygwin, caused by a bug in cygwin's sysconf(_SC_ARG_MAX), I found in the source code that xargs supports --show-limits, and it turned out to be very useful in diagnosing the problem. This option is not documented anywhere, in xargs --help, the man page, or the info docs. Also, the source code builds the --show-limits longopt as mapping to 'S', but does not accept a short opt -S.

For the remainder of this bug report, you can feel free to ignore my requests, so long as the documentation accurately reflects the actual behavior (as long as it is undocumented, the behavior can be considered a bug, but if it is well documented, then I wouldn't be confused in the first place):
I thought it was rather confusing that --show-limits still insisted on reading stdin. I had to execute 'echo | xargs --show-limits' for a non-blocking printout of the current limits. I think it might be more intuitive if --show-limits printed the limits, then quit without doing any further action (thinking of --show-limits as a form of --help, but correctly taking into account the affects of -s or other options). On the other hand, the limit information could also usefully be printed during --verbose, where --verbose does imply continuing with execution by reading stdin.

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 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 06 Dec 2005 07:29:08 AM UTCjayAssigned toNone=>jay
  Open/ClosedOpen=>Closed
  Fixed ReleaseNone=>4.2.27
Sun 04 Dec 2005 03:06:36 AM UTCjayStatusNone=>Fixed
Wed 07 Sep 2005 02:39:27 PM UTCNoneCarbon-Copy-=>Added ebb9 --AT-- byu --DOT-- net

Back to the top


Powered by Savane 3.1-cleanup1