Your message dated Fri, 25 Feb 2011 18:07:28 +0100
with message-id <[email protected]>
and subject line Fixed
has caused the Debian Bug report #47906,
regarding /bin/more: [more] trouble dealing with file names that begin with '-'
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
47906: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=47906
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: util-linux
Version: 2.12-10
Severity: minor
File: /bin/more
More needs a -- flag to allow it to handle filenames that begin
with '-'. Mind you, this isn't the commonest problem in
the world, but whenever I see a file named "-", I wonder
what's inside it.
gpk:tmp$ ls > -
gpk:tmp$ more -
usage: more [-dflpcsu] [+linenum | +/pattern] name1 name2 ...
gpk:tmp$ wc < -
32 32 499
gpk:tmp$
Come to think of it, wc needs a -- argument too: it can't
count words in a file named "-".
Whoops, nor can 'cat'.
Fortunately, 'rm' can handle it:
(quote from man page):
To remove a file whose name starts with a `-', for example `-foo', use one of
these commands:
rm -- -foo
rm ./-foo
I rather suspect that lots of programs can't handle files named '-'.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages util-linux depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii slang1a-utf8 1.4.9dbs-8 The S-Lang programming library wit
ii zlib1g 1:1.2.2-3 compression library - runtime
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 2.17.2-1
This has been fixed upstream for a while, so closing this bug.
--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
--- End Message ---