A
Andrew Greensted
Hi All,
I've written a simple c program that reads stdin, adds highlighting to
particular words and outputs the result to stdout.
I invoke it as follows (where xil-highlight is my program):
I'm using this within a make file. The problem is, if the build part
fails, the exit status is not picked up by make and does not exit.
Is there some way I can 'read' the exit status of build and forward that
to the exit status of my xil-highlight program.
Thanks
Andy
I've written a simple c program that reads stdin, adds highlighting to
particular words and outputs the result to stdout.
I invoke it as follows (where xil-highlight is my program):
> build | xil-highlight
I'm using this within a make file. The problem is, if the build part
fails, the exit status is not picked up by make and does not exit.
Is there some way I can 'read' the exit status of build and forward that
to the exit status of my xil-highlight program.
Thanks
Andy