using stdin & stdout in a Shell-Script or C-prog
Kenny McDonald
c60244 at ccfiris.aedc
Tue Jan 22 02:14:54 AEST 1991
I am trying to do the following:
cd bs; tar cxvBf - . | (cd ../bs2; tar xpvoBf -)
-or-
rsh host2 "(cd bsdir; tar cvBf - .)" | (cd todir; tar -xpoBf -)
I want to xeq this command in a c program. But the use of stdout/stdin is not
correct. Is there any suggestions anyone can give me on the correct way to
call this sequence of commands within a c-program?
Thanks.
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
| Kenneth M. McDonald * Arnold Engineering Development Center |
| MS 100 * Arnold AFS, TN 37389-9998 * (615) 454-3413 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OO AA OO
O O A A O O
O O AAAA O O
O O A A O O
OO A A OO
_______________
/
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvRETURN ADDRESS:vvvvvvvvvvvvvvvvvvvvvvvvvvvv
| @aedc-vax.af.mil:c60244 at ccfiris.aedc |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
More information about the Comp.sys.sgi
mailing list