ls error messages

utzoo!decvax!harpo!floyd!vax135!houxi!npois!alice!mad utzoo!decvax!harpo!floyd!vax135!houxi!npois!alice!mad
Fri Apr 23 12:24:14 AEST 1982


Ls(1) does not send (at least some of) its error messages to stderr but
rather sends them to stdout.

Example:
Given an empty directory called junk,
when the command
	ls junk/* 2>/dev/null
is executed, the error message
	junk/* not found
is written to stdout, instead of being written to stderr (/dev/null).

				Marcia Derr



More information about the Comp.bugs.4bsd.ucb-fixes mailing list