TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

simple bash script - redirect pipe



How do I control what is piped to a script? 
I want to be able to type

`cat myfile |myscript'

and myscript will redirect the pipe (ie contents of myfile) to someother
program.

Thanks,

Ben

Ben Luey
lueyb@carleton.edu
ICQ: 19144397

Political power grows out of the barrel of a gun."  -- Mao Tse-tung