Hi,<br>
<br>
I'm trying to write a script that would open an xterm window and use the<br>
-exec to execute a tail command which passes the result to an awk command.<br>
<br>
xterm -exec tail file.log ¦ awk {parses data and prints out} &<br>
<br>
The problem is that the command awk is not executed. I heard from a friend<br>
that -exec only takes in one command. Is there another way to do this? I<br>
really need to get this working as a dealine is approaching. Any help would<br>
be greatly appreciated.<br>
<br>
Thank you.<br>
Benjamin<br>
<A HREF="mailto:benjaminle@engineer.com">benjaminle@engineer.com</A>
<br>
I'm trying to write a script that would open an xterm window and use the<br>
-exec to execute a tail command which passes the result to an awk command.<br>
<br>
xterm -exec tail file.log ¦ awk {parses data and prints out} &<br>
<br>
The problem is that the command awk is not executed. I heard from a friend<br>
that -exec only takes in one command. Is there another way to do this? I<br>
really need to get this working as a dealine is approaching. Any help would<br>
be greatly appreciated.<br>
<br>
Thank you.<br>
Benjamin<br>
<A HREF="mailto:benjaminle@engineer.com">benjaminle@engineer.com</A>