[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



>># file and path variables
>>reportTime=`date +%y%m%d_%H%M%S`;
>>logName="scan_$reportTime.log";
>>infectedLogName="infected_$reportTime.log";
>>logPath="/home/samba/production/vlogs";
>>dirToScan="/home/samba/production";
> 
> 
> Just FYI, you don't really need the ';' at the end of each line like
> you do in perl.  I don't think it does any harm, except that it might
> confuse you or someone else looking over your source.  You might
> start putting spaces in variable assignments like: blah = "whatever";
> as you would in perl!  :-)

I believe that only works if you use the:

set foo = "bar"

syntax.  At least on my box:

foo = "bar"

yields:

bash: /home/esoteric/shl/foo: Permission denied


-- 
Until later, Geoffrey                     Registered Linux User #108567
Building secure systems inspite of Microsoft


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="01090" href="msg01090.html">[ale] shell scripting baby questions...</a></strong>
<ul><li><em>From:</em> deepbsd at earthlink.net (David S. Jackson)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00743" href="msg00743.html">[ale] shell scripting baby questions...</a></strong>
<ul><li><em>From:</em> keith at iqtv.com (Keith Morris - IQ)</li></ul></li>
<li><strong><a name="01075" href="msg01075.html">[ale] shell scripting baby questions...</a></strong>
<ul><li><em>From:</em> deepbsd at earthlink.net (David S. Jackson)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01077.html">[ale] HTML font setting for kmail?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01079.html">[ale] 	OT: [Fwd: It's the Wrong Toilet, Gromit! And it's gone Wrong!]</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg01075.html">[ale] shell scripting baby questions...</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01090.html">[ale] shell scripting baby questions...</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01078"><strong>Date</strong></a></li>
<li><a href="threads.html#01078"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>