GNU bug report logs - #42711
Tail does not recognize line number spec for multiple files

Previous Next

Package: coreutils;

Reported by: Anonymousemail <noreply <at> anonymousemail.me>

Date: Tue, 4 Aug 2020 18:32:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Anonymousemail <noreply <at> anonymousemail.me>
To: 42711 <at> debbugs.gnu.org
Subject: bug#42711: Tail does not recognize line number spec for multiple files
Date: Tue, 4 Aug 2020 18:19:11 +0000
[Message part 1 (text/plain, inline)]
This command gives an error:

$ tail -5 foo bar baz
tail: option used in invalid context -- 5

For comparison, the equivalent head commans works exactly as expected:

$ head -5 foo bar baz
==&gt; foo &lt;==
foo line 1
foo line 2
foo line 3
foo line 4
foo line 5

==&gt; bar &lt;==
bar line 1
bar line 2
bar line 3
bar line 4
bar line 5

==&gt; baz &lt;==
baz line 1
baz line 2
baz line 3
baz line 4
baz line 5
&nbsp;
[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 320 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.