mhpath Splits Error between stdout and stderr.

Bug #210822 reported by Ralph Corderoy
2
Affects Status Importance Assigned to Milestone
nmh (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: nmh

Ubuntu 7.10, package nmh 1.2-3.

mhpath splits its diagnostic across stdout and stderr.

    $ mhpath -
    mhpath: - ambiguous. It matches
      -version
      -help
    $
    $ mhpath - 2> >(od -c | sed s/^/2:/) > >(od -c | sed s/^/1:/); sleep 1
    1:0000000 - v e r s i o n \n - h e
    1:0000020 l p \n
    1:0000023
    2:0000000 m h p a t h : - a m b i g u
    2:0000020 o u s . I t m a t c h e s
    2:0000040 \n
    2:0000041
    $

I'd expect the error to be on stderr only.

Revision history for this message
Ralph Corderoy (ralph-inputplus) wrote :

Setting to confirmed because I've given an exact case for reproducing.

Changed in nmh:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.