<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hey all,<br><br></div>I have a master script that calls a couple hundred other scripts. Each of the &quot;other&quot; scripts can also be called in their own. <br>

<br></div>What I&#39;m thinking about is having a variable like &quot;test&quot; or &quot;fix&quot; be set, so that if the &quot;other&quot; scripts run they will get a parameter without me having to put a getopts stanza in each script. <br>

<br></div>So maybe:<br><br></div>. ./my_vars<br></div><div>if [ $TEST ]<br></div><div>then<br>...<br></div><div><br></div>or <br><br></div>if [ -f ./TEST ]<br></div>then<br></div>...<br></div><br></div>Thoughts on the best way to do this? I&#39;m not saying my ideas are the only way, just what comes to mind.<br>
<br>Leam<br><br clear="all"><div><div><div><div><div><div><div><div><div><div><div>
<br>-- <br><div><a href="http://leamhall.blogspot.com/" target="_blank">Mind on a Mission</a></div>
</div></div></div></div></div></div></div></div></div></div></div></div>