10 Mar
2003
10 Mar
'03
1:27 a.m.
[attribution lost]
Those would be quite different functions, then, unless you proposed to have Python interpret native shell metacharacters on its own too (e.g., set up pipes, do the indicated file redirections, interpolate envars, and fake whatever other shell gimmicks people may use).
On Mon, Mar 10, 2003 at 11:52:39AM +1300, Greg Ewing wrote:
What we need is a function which does all those things, but uses some way of specifying them *other* than shell metacharacters. E.g.
os.plumb(("sed", "-e", "s/dead/resting/", "parrots"), ("grep", "norwegian"), output = myfile))
+1 on the concept. +1 on something that can be transformed to use tcl's "exec" so that it'll begin working on several common arches immediately. Jeff