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

The manual claims 'numprocess' can calculate exponents:

    man numprocess | grep -n '\^'
    35:          $ numprocess /^2,*pi/ radii
    45:          ^     Power function

Expected hex dump for '5' cubed:

    echo 125 | hexdump
    0000000 3231 0a35
    0000004

But 'numprocess' returns garbage ('hexdump' is needed to show garbage 
nicely in this 7-bit ASCII email):

    echo 5 | numprocess '/^3/'  | hexdump 
    0000000 0a06
    0000002

The manual (line #45 above) expression using '*pi' returns:

    echo  5 | numprocess /^2,*pi/
    Argument "^G" isn't numeric in multiplication (*) at /usr/bin/numprocess 
line 147, <STDIN> line 1.
    0

Hope this helps...


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

Kernel: Linux 2.6.26-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.10.0-19  Larry Wall's Practical Extraction 

num-utils recommends no packages.

num-utils 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