Your message dated Sat, 26 Jan 2008 16:18:26 -0500
with message-id <[EMAIL PROTECTED]>
and subject line tail: -n fails on multiple files
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
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.
Charles
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (800, 'testing'), (70, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages coreutils depends on:
ii libacl1 2.2.39-1 Access control list shared library
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii libselinux1 1.30-1 SELinux shared libraries
coreutils recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 6.10-1
The error message is now "invalid context", which might be a little more
clear. In general, though, using -n 1 rather than -1 is correct.
Mike Stone
--- End Message ---