[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #14587] -L does not default to -L1 and results in error
From: |
anonymous |
Subject: |
[bug #14587] -L does not default to -L1 and results in error |
Date: |
Mon, 19 Sep 2005 18:25:11 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=14587>
Summary: -L does not default to -L1 and results in error
Project: findutils
Submitted by: None
Submitted on: Mon 09/19/05 at 18:25
Category: xargs
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: Jason Pyeron
Originator Email: address@hidden
Open/Closed: Open
Release: 4.2.11
Fixed Release: None
_______________________________________________________
Details:
from man xargs:
--max-lines[=max-lines], -L[max-lines]
Use at most max-lines nonblank input lines per command line; max-lines
defaults to 1 if omitted.
Trailing blanks cause an input line to be logically continued on the
next input line. Implies -x.
address@hidden rpms.pdinc.us]$ find | perl -ne 'm/(.+)\/.+\.rpm$/ and
print $1, "\n";' | sort -u | xargs -L echo
xargs: invalid number for -l option
Usage: xargs [-0prtx] [-e[eof-str]] [-i[replace-str]] [-l[max-lines]]
[-n max-args] [-s max-chars] [-P max-procs] [--null]
[--eof[=eof-str]]
[--replace[=replace-str]] [--max-lines[=max-lines]] [--interactive]
[--max-chars=max-chars] [--verbose] [--exit] [--max-procs=max-procs]
[--max-args=max-args] [--no-run-if-empty] [--arg-file=file]
[--version] [--help] [command [initial-arguments]]
Report bugs to <address@hidden>.
address@hidden rpms.pdinc.us]$ find | perl -ne 'm/(.+)\/.+\.rpm$/ and
print $1, "\n";' | sort -u | xargs -l echo
./SRPMS
./foo bar
./i386
address@hidden rpms.pdinc.us]$ find | perl -ne 'm/(.+)\/.+\.rpm$/ and
print $1, "\n";' | sort -u | xargs -L1 echo
./SRPMS
./foo bar
./i386
address@hidden rpms.pdinc.us]$
_______________________________________________________
Carbon-Copy List:
CC Address | Comment
------------------------------------+-----------------------------
jpyeron --AT-- pdinc --DOT-- us | Originator Email
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=14587>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #14587] -L does not default to -L1 and results in error,
anonymous <=