Anonymous user
User defined pipe and redirection operators: Difference between revisions
User defined pipe and redirection operators (view source)
Revision as of 17:05, 14 September 2011
, 12 years agoRemove speculation about coroutines in GNU C. The task might be implemented with coroutines, or without them.
(Pass each record on as soon AS available through each of the filter/procedure in the chain.) |
(Remove speculation about coroutines in GNU C. The task might be implemented with coroutines, or without them.) |
||
Line 15:
'''Alternately:''' if the language does not support operator definition then replace with:
* 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 sh>( head x & tail x & wait ) | grep test</lang>
|