Package: dog
Version: 1.7-8
Severity: normal

Man page says:

    % man dog | grep -n "\-w n"
    48:       -w n   Print first n characters of each line (default=80)

...but it doesn't work:

    # this should print "Po"
    % echo "Potato" | dog -w 2 - ; echo $?
    dog: 2: No such file or directory
    Potato
    0

Apparently 'dog' interpreted the numeric argument for '-w' as a
filename.  The error code probably shouldn't be '0'.

Note that '-w' alone works for 80 columns.

Hope this helps...



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

Versions of packages dog depends on:
ii  libc6                       2.3.6.ds1-12 GNU C Library: Shared libraries

dog 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