User defined pipe and redirection operators: Difference between revisions

m
<lang bash>, not <lang sh>!
(Input Records: A shorter version - for testing - of the wikipedia page. http://en.wikipedia.org/wiki/List_of_computer_scientists)
m (<lang bash>, not <lang sh>!)
Line 16:
* define the procedures: input(cmd,stream), pipe(stream,cmd), output(stream, stream), whereis(array), append(stream)
 
For bonus Kudos: Implement the shell "&" concept as a dyadic operator in the specific language. e.g.: <lang shbash>( head x & tail x & wait ) | grep test</lang>
 
'''Sample shell script:''' ''¢ draft - pending a better (more interesting) suggestion ¢''
<lang shbash>aa="$(
(
head -4 < List_of_computer_scientists.lst;
Anonymous user