Talk:User defined pipe and redirection operators: Difference between revisions

Content added Content deleted
Line 111: Line 111:
In essence that is required is the creation of the operators "<", "|", ">", "<<" & ">>", with the basic plumbing such as "cat" & "tee".
In essence that is required is the creation of the operators "<", "|", ">", "<<" & ">>", with the basic plumbing such as "cat" & "tee".


Here are my thoughts, sketched in python code, not the code ''does not'' require OS pipes, neither does it require OS multitasking. Note also: data is being passed as "rec", this could be a string, but the key point is that (essentially) in this sketch only a one record buffer is required, and this is actually only the argument list itself.
Here are my thoughts, sketched in python code, note the code ''does not'' require OS pipes, neither does it require OS multitasking. Note also: data is being passed as "rec", this could be a string, but the key point is that (essentially) in this sketch only a one record buffer is required, and this in actuality only the ''argument list'' itself.
<lang python>#!/usr/bin/env python
<lang python>#!/usr/bin/env python