Re: Head -n argument position matters

Edward Avis <[email protected]>
Newsgroups gmane.comp.gnu.textutils.bugs
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 20 Apr 2002, Jim Meyering wrote:

>That's the expected behavior, because options like `-1'
>are obsolete.

>  $ env _POSIX2_VERSION=200112 head -1
>  head: `-1' option is obsolete; use `-n 1'

Yikes!  There sure are some crazy things going on in Posixland...

But surely in the current version of head, if -1 is accepted at the
start it should be accepted at the end too - for consistency with other
options.

- -- 
Ed Avis <[email protected]>
Finger for PGP key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8wR5tIMp73jhGogoRAmr3AJ0RxD25rUID3blrJ3/5fGbmv70EtACcC5lo
X/PvKIVCR6nVBYqqkO3op78=
=ANGu
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.