Xref: utzoo comp.unix.shell:978 comp.unix.questions:27184 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!bu.edu!purdue!haven!umbc3!math9.math.umbc.edu!rouben From: rouben@math9.math.umbc.edu Newsgroups: comp.unix.shell,comp.unix.questions Subject: Why does more(1) not leave an exit status? Message-ID: <4548@umbc3.UMBC.EDU> Date: 28 Nov 90 17:26:46 GMT Sender: newspost@umbc3.UMBC.EDU Reply-To: rouben@math9.math.umbc.edu () Organization: Mathematics Department University of Maryland, Baltimore County Lines: 15 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@umbc Baltimore, MD 21228, U.S.A. internet: rostamian@umbc3.umbc.edu