Package: procps
Version: 1:3.2.7-3
Severity: normal

Hi,

according to the man page, pgrep should exit with status 2 in case of a
syntax error on the command line.  Well, it does not: pgrep -y gives a
usage message, and exits with status 0.  This makes its usage error
prone in scripts.

Thanks,
Feri.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages procps depends on:
ii  libc6                       2.3.6.ds1-11 GNU C Library: Shared libraries
ii  libncurses5                 5.5-5        Shared libraries for terminal hand
ii  lsb-base                    3.1-23       Linux Standard Base 3.1 init scrip

Versions of packages procps recommends:
ii  psmisc                        22.3-1     Utilities that use the proc filesy

-- no debconf information


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

Reply via email to