[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bash scripting



Hi, ppl, 
I would like to know, is it possible to fork the standard stdout
of some command into another two or three pipelines. The idea is to avoid
unnecessary disk load during temporary file writing/reading. So I need
something like this:

command1 | command2 | command3 | command4 > file1 
                     \->command5 | command6 > file2
                      \->command7 | command8 > file3       

Does bash allow such things?
TIA,
	Eugene Sevinian

----------------------------
CRD, YerPhI, 375036, Armenia
URL: http://crdlx5.yerphi.am/
Phone: 374-2-344873


Reply to: