Package: num-utils
Version: 0.5-11
Severity: minor

Thanks for the handy package.

I like applying basic math operations to standard
input and output.

The man page for numprocess currently says

    "There is currently no way to take the number
    found in the text stream and use it as the
    numerator instead of the denominator of a
    division operation."

but it seems to me that this warning may be
unnecessary.

Here's how to use the number found in the text
stream as both the numerator 

    echo 4 | numprocess /%3/


and denominator

    echo 4 | numprocess /^-1,*3/

Thanks,
Kingsley

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

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

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