more unix jokes - /dev/null

anw at nott-cs.UUCP anw at nott-cs.UUCP
Sat Sep 24 00:43:38 AEST 1988


In article <1414 at star.cs.vu.nl> maart at cs.vu.nl (Maarten Litmaath) writes:
> [ how to simulate ]
>	command > /dev/null
> [ without using /dev/null ? ]

	Silly season strikes again?  But there are many near-solutions:

		command | grep -v ''	# or adjust flags as necessary
		command | tail -0	# or use sed or awk or ...
		command | tr -cds ''
		command | [ ]
		command |		# if at end of script

each of which is deficient in ways I'll leave others to find and correct.

-- 
Andy Walker, Maths Dept., Nott'm Univ., UK.
anw at maths.nott.ac.uk



More information about the Comp.unix.questions mailing list