[luau] UNIX Shell Question: Capturing stdout & showing too

aeg-inc at hawaii.rr.com aeg-inc at hawaii.rr.com
Mon Aug 5 20:56:00 PDT 2002


Aloha-

how would I capture stdout to a file while still getting messages written 
to screen?

e.g. command foo will write things like 'Processing x of y' to terminal. To

put that stuff into a log i'd go:
     foo > log.txt

but i want to eat the cake too, so how can i modify 'foo > log.txt' to also

write out to command line screen?

probably an easy one...

thanks! 
rg



More information about the LUAU mailing list