Package: coreutils
Version: 8.4-1
Severity: normal

Hi, I am using test in my maildrop filters and I was furious about this

ja...@gondolin:~$ /usr/bin/test -f/some/nonexistent/file || echo "returned 
false"
ja...@gondolin:~$ /usr/bin/test -f /some/nonexistent/file || echo "returned 
false"
returned false

I hope given example is self-explaining

I think there are two methods to solve this:
1) test -f/filename returns bad option and dies
2) test -f/filename will be accepted and solved correctly

Same bug reproducible on both stable (6.10-6)  and unstable...

Thank you for your time
Jakub Lucký

P.S. if any more information needed, I'll be happy to provide it



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages coreutils depends on:
ii  libacl1                       2.2.49-2   Access control list shared library
ii  libc6                         2.10.2-5   Embedded GNU C Library: Shared lib
ii  libselinux1                   2.0.89-4   SELinux runtime shared libraries

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to