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

Sample input data:

    % seq 0 1
    0
    1
    % seq 0 2
    0
    1
    2
    % seq 1 2
    1
    2

Results:

    % seq 0 1 | numinterval ; echo error code=$?        # nothing
    error code=0
    % seq 0 2 | numinterval ; echo error code=$?        # bad
    1
    error code=0
    % seq 1 2 | numinterval ; echo error code=$?        # good
    1
    error code=0

Another test:

    % numrange -N /2..1,0..2/ | numinterval
    -1
    -1
    1

A third test with distinctive intervals, plus my comments:

    % numrange -N /-11,-3,0,5,17/  | numinterval
    8   # "-3 - -11", good
    3   # " 0 -  -3", good
    12  # "17 -   5", good, but the 0-5 interval is missing.


Hope this helps...


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages num-utils depends on:
ii  perl                          5.8.8-6    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