test primitive

00771g-Lukas lukas at ihlpf.ATT.COM
Tue May 23 23:53:29 AEST 1989


I just had an application where I wanted to test for the simple
existance of a file. I was surprised that test(1) did not have a
primitive for this. Now, I realize that I can make this test with
ls(1), but I was curious as to why (if there is a reason) that

	-e file		true if file exists

was not included with the other test primitives. Anyone know? TIA.
-- 

	John Lukas
	att!ihlpf!lukas
	312-510-6290



More information about the Comp.unix.questions mailing list