Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Piping script
Name: Justin Date: September 30, 2002 at 00:05:34 Pacific OS: UNIX CPU/Ram: N/A
Comment:
I have a program which outputs a result. I am able to specify what it pipes it to, and would like to add an extra line to the end of the result before printing it. The program lets me specify how i would like the result to be received in two ways: [result] | (piped in) [result] > (added in) I can only add commands after it has done this. At the moment it pipes straight to a print command. I hope this is clear enough, thanks in advance.
Summary: One way is to use a named pipe. Rather than write an example of a named pipe script, I googled the Internet and came across the following example: http://www.ixora.com.au/q+a/0111/08... ...
Summary: First off, you are not using a pipe. You are using redirection. The only possible cause I can think of is that your original process still has an open file descriptor on $OUTPUT_FILE and your redire...