Charles Fry <[EMAIL PROTECTED]> wrote:

> Package: coreutils
> Version: 5.97-1
> Severity: normal
>
> Hi,
>
> The version of tail currently in stable supports the following:
>
>    tail -1 file1 file2 file3
>
> Such syntax is also supported in head, both in stable and unstable.
> Unfortunately the current unstable release of tail breaks when this is
> attempted, complaining:
>
>    % tail -1 file1 file2 file3
>    tail: invalid option -- 1
>    Try `tail --help' for more information.
>
> Note that this occurs with any -n specified. Also note that the syntax
> works perfectly fine with a single file; but it breaks with multiple
> files.

This is not a bug.
The -1 style syntax is what we call the obsolete (or at least
obsolescent) syntax.

If you want to operate on more than one file, you have to use
the "-n N" option.  E.g.,

  tail -n1 file1 file2 file3


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to