Anonymous user
User defined pipe and redirection operators: Difference between revisions
User defined pipe and redirection operators (view source)
Revision as of 22:35, 17 September 2011
, 12 years ago<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
'''Sample shell script:''' ''¢ draft - pending a better (more interesting) suggestion ¢''
<lang
(
head -4 < List_of_computer_scientists.lst;
|