[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#42711: Tail does not recognize line number spec for multiple files
From: |
Davide Brini |
Subject: |
bug#42711: Tail does not recognize line number spec for multiple files |
Date: |
Tue, 4 Aug 2020 21:14:24 +0200 |
On Tue, 4 Aug 2020 18:19:11 +0000, Anonymousemail
<noreply@anonymousemail.me> wrote:
> 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:
Even if head works, the -<number> syntax is obsolete and should be replaced
by -n <number>.
Try "tail -n 5" and it should work.
--
D.