Redirect Output in the Middle of a Program??

Amos Shapir amos at taux01.UUCP
Sun May 1 06:49:35 AEST 1988


I usually do
	make >& make.out & tail -f make.out
(This is csh; with sh, do make 2>&1 > make.out)

Thus, the make is always in the background, but its output can be followed
on the screen, stopped, restarted etc. Even if the line goes down, the
output will remain. (This can be put in a command file or alias)
-- 
	Amos Shapir			(My other cpu is a NS32532)
National Semiconductor (Israel)
6 Maskit st. P.O.B. 3007, Herzlia 46104, Israel  Tel. +972 52 522261
amos%taux01 at nsc.com  34 48 E / 32 10 N



More information about the Comp.unix.wizards mailing list