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 % head -1 foo This is the first line of foo. % head foo -1 head: invalid option -- 1 Try `head --help' for more information. % head --version head (textutils) 2.0.21 Written by David MacKenzie. Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Also observed with 2.0.10; tail does similar things. Is this a bug? - -- 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 iD8DBQE8vDwCIMp73jhGogoRAleJAJ0bC8UMZ0n4vZ2i6ijAib1RDkO44gCeKpTC 6QVL6hB7Z12o4L1DFk9yf4U= =zsB5 -----END PGP SIGNATURE-----