I want to call Code.c from within awk. Note that the Code.c takes current record (i.e. $0) as argument.
I am new to shell scripting so any help would be appreciated.
Best Regards
I want to call Code.c from within awk. Note that the Code.c takes current record (i.e. $0) as argument.
I am new to shell scripting so any help would be appreciated.
Best Regards
#!/bin/bash
while read line
do
para=`echo $line | awk '{print $0}'`
./c_code $para
done < your_process_file