Greetings, <br>I am trying to call sac within a shell script as follows. <br><br>while read line<br>do<br>    cd $line<br>   <br>        sac<br>        gawk &#39;{print &quot;macro ../sac_cut.macro&quot;}&#39;<br><br>    cd ../<br>
done &lt; folder_list.txt <br><br><br>folder_list.txt holds the names of all the directory names that the script is suppose to look in. <br>I see that sac is initiated but the problem is in executing commands within sac once it is initiated. I have tried several ways of doing that including printf and piping to sac with back quotes. Still I get the following error. <br>
<br>SAC&gt; readline: readline_callback_read_char() called with no handler!<br><br>How should one execute sac commands within a shell script? <br><br>I am using sac Version 101.3b<br><br>Thanks a lot.<br><br>Januka.<br>