Package: moreutils
Version: 0.8
Severity: normal

The following surprises comprise a bug, or should be in the docs:

    % echo hello world | pee "wc -l"
    hello world
    1

...should "hello world" be output by 'pee'?

    % echo hello world | pee "wc -l" "wc -w"
    hello world
    hello world
    1
    2

...twice?

    % echo hello world | pee "wc -l" "wc -w" "wc -c"
    hello world
    hello world
    hello world
    1
    2
    12

Etcetera.  In short, 'pee' copies stdin to any number of commands
given, (which seems useful enough), but prefaces their output
with the same number of raw copies of stdin, (seems buggy).


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/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages moreutils depends on:
ii  libc6                         2.3.6-4    GNU C Library: Shared libraries an
ii  perl                          5.8.8-3    Larry Wall's Practical Extraction 

moreutils 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