
You don't need "tools" to write Bourne shell script, because the script itself is text file. If you're talking about shell wrapper, then #! /bin/sh your_c_program "$@" would call your C program with the same arguments. You can use "exec" to replace the script, if you want PID to be the same, ie. #! /bin/sh exec your_c_program "$@" -- William On Mon, Aug 10, 2015 at 04:12:57AM -0400, Ansar Mohammed wrote:
Hello All, I am writing a bourne shell script, to read a binary file as input and take action depending on the contents of the file.
The file is a mixture of ASCII and binary codes (such as ASCII filed lengths and flags).
I have the processing already done in C. I would like to convert it to a bourne shell.
Does anyone have any suggestions on what combination of tools I may be able to use?
--- Talk Mailing List talk@gtalug.org http://gtalug.org/mailman/listinfo/talk