-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Emmanuel Dumont on 3/13/2009 1:46 PM:
> Hi

Hello Emmanuel,

> 
> I'd like to submit the following bug:
> 
> % ls -1 * | nl --first-page=2

A bit of overkill.  When stdout of ls is not a terminal, then the -1
option is redundant.  And globbing * can run into command line length
limitations, which are avoided if you use a listing of . (or the implicit
default of ls).  In other words, this is equivalent:

ls | nl --first-page=2

> nl: unrecognized option `--first-paeg=2'

Are you sure you copied and pasted this correctly?  Your command line
claims you spelled "--first-page", but the error claims you spelled
"--first-paeg".

However, this bug has been previously reported, and fixed here:
http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=26d3d

You should consider upgrading to coreutils 7.1, the latest stable version,
where the option is correctly documented as being spelled
- --starting-line-number.  Meanwhile, you can still use that spelling (even
though it is undocumented) in your current version, or go with the short
option -v.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             e...@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm7AQgACgkQ84KuGfSFAYBZDQCdFnVVFfKSwm4Pp90bGGVOFM9U
7koAoKj1/UJ7nPaD5W26rqp/RqTjCfUy
=cmgY
-----END PGP SIGNATURE-----


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to