Re: manually pipe processes

2009-03-05 Thread Brian J. Murrell
On Thu, 2009-03-05 at 13:47 -0500, Greg Wooledge wrote: > > That might be a little more heavy-handed than you were looking for, > but since you're already hitting /tmp it shouldn't be terrible to add > a FIFO there. Yeah. I really didn't want to use a named pipe for this. Thanx for the help tho

Re: manually pipe processes

2009-03-05 Thread Greg Wooledge
On Thu, Mar 05, 2009 at 12:28:00PM -0500, Brian J. Murrell wrote: > tar cf - /etc | tar xf - | tee /tmp/outfile > I want (specifically) the second > tar command to run in the background and I want to wait for it so that > the "trap" in the parent shell can process signals. Altogether I want: >

manually pipe processes

2009-03-05 Thread Brian J. Murrell
Hi, I want to effect this pipeline: tar cf - /etc | tar xf - | tee /tmp/outfile manually. It seems that some form of file descriptor manipulation (i.e. moving, duplication, etc.) should be able to achieve this, but I can't seem to figure it out. Why would I want to do this? Because I want (sp