mhpath Splits Error between stdout and stderr.
Bug #210822 reported by
Ralph Corderoy
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.
To post a comment you must log in.
Setting to confirmed because I've given an exact case for reproducing.