retitle 565255 man-db: 'whatis nosuchfile' outputs to standard output, not standard error user [email protected] usertags 565255 target-2.5.7 tags 565255 fixed-upstream thanks
On Thu, Jan 14, 2010 at 05:24:03AM -0500, A. Costa wrote: > For comparision: > > # show what five file utils output to STDIN only You mean stdout, not stdin. Outputting to stdin would be even weirder. :-) > % X=nosuchfile ; for f in ls wc gzip rm whatis ; do echo "running: $f $X" > ; $f $X ; echo $? ; echo ------- ; done 2> /dev/null [...] > running: whatis nosuchfile > nosuchfile: nothing appropriate. Fixed for man-db 2.5.7, thanks. Thu Jan 14 11:51:59 GMT 2010 Colin Watson <[email protected]> * src/whatis.c (search): "%s: nothing appropriate." is an error; write it to stderr, not stdout (Debian bug #565255). -- Colin Watson [[email protected]] -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

