Why does more(1) not leave an exit status?

rouben at math9.math.umbc.edu rouben at math9.math.umbc.edu
Thu Nov 29 04:26:46 AEST 1990


On a couple of different systems I have tried, more(1) always exits
with status 0.  I would have expected more(1) to exit with a not-zero
status when invoked with a non-existent file as its standin.

Both cat(1) and tail(1) exit with status 1 when trying to open a 
non-existent file.  Why not more(1)?

Is this due to an oversight or due to a conscious decision?  Does 
anyone know?

--
Rouben Rostamian                            Telephone: (301) 455-2458
Department of Mathematics and Statistics    e-mail:
University of Maryland Baltimore County     bitnet: rostamian at umbc
Baltimore, MD 21228,  U.S.A.                internet: rostamian at umbc3.umbc.edu



More information about the Comp.unix.shell mailing list