Next: The C Preprocessor Up: Redirection and pipes Previous: Pipes

Redirection

	a.out < file1		(stdin comes from file1)
	a.out > file2		(stdout goes to file2)
	a.out < file1 > file2

Try this with any program you have which reads or prints data.



Next: The C Preprocessor Up: Redirection and pipes Previous: Pipes


maspjw@
Tue Sep 27 15:29:34 BST 1994