Package: coreutils
Version: 5.2.1-2
Severity: normal

man expr
...
   expr exits with:
              0 if the expression is neither null nor 0; 1 if  the  expression
              is null or 0; or 2 for invalid expressions.
...

eg:

$ expr 1 - a
$ expr: non-numeric argument
$ echo $?
$ 3


-- paolo


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.12-rc3-ck1-bs-ss-pm.1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


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

Reply via email to