Package: num-utils
Version: 0.5-8
Severity: normal

'num-utils' expressions with garbage input:

    # 'numrange' warns us, but no exit code
    % numrange /6..aaa5/ ; echo $?
    Invalid expression: 6..aaa5
    
    0

    # 'numgrep' doesn't warn...
    % numrange -N /-10..-20/  | numgrep /aaa5..-20/ ; echo $?
    0

    # 'numprocess' repeats the input.
    % echo 7 | numprocess /zzzz*9,zz%5,+32zzzzz/ ; echo $?
    7
    0

    # a warning, but no exit code
    % numrandom /1..10zzzz/ ; echo $?
    Invalid expression: 1..10zzzz
    Use of uninitialized value in concatenation (.) or string at 
/usr/bin/numrandom line 112.

    0

Hope this helps...



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages num-utils depends on:
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

num-utils recommends no packages.

-- no debconf information


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

Reply via email to