Subject: | |
From: | |
Reply To: | |
Date: | Fri, 26 Feb 1999 16:17:49 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
At 03:44 PM 2/26/1999 , Lars Appel wrote:
>How about the following attempt? ...
>
> : listfile ci.pub.sys, 8 > $newpass
> : xeq /bin/grep !ipmask < $oldpass
>
>The good old $OLDPASS and $NEWPASS sometimes come close to a pipe,
>although they don't offer a child process (overhead?) for parallel
>processing both tasks.
Yeah, but don't try putting a construct like that inside another script
that might accidentally get called by yet another script. oldpass/newpass
can come in handy, but there's only one pair of them, so if you try to run
nested scripts that end up using these special files more than once at a
time, unexpected results will follow...
There's a command file floating around here somewhere that simulates pipes
in CI using temp files with sequential numeric names. Not very speedy, and
doesn't seem to work all the time, but a step in the right direction, I
suppose.
I would like to see true pipes in CI someday, and a way to have posix-type
commands not need quoting of the INFO string when called from CI. Maybe
another candidate for CFE?
_______________________________________________________________
Jon Diercks * Systems Manager * Information Technology Services
[log in to unmask] (PGP available) Anderson University
http://users.anderson.edu/~jon/ 1100 East Fifth St
(765)641-4305 * FAX (765)641-4568 Anderson, IN 46012
|
|
|