On Thursday 06 September 2007 18:09, Stricklin, Raymond J wrote:
>> I would, however, use -e instead of -f, because the system
>> name is probably a directory, not a plain file.
>
>indeed, then why not use -d ?

Because -e allows the script to neither know nor care what type of file is
there, just that a directory entry in /clamscan/servers with the desired name
exists.  I consider avoiding unnecessary dependencies or knowledge in
functions a basic design principle, which allows code to be as general as
possible.
        - MacK.
-----
Edmund R. MacKenty
Software Architect
Rocket Software, Inc.
Newton, MA USA

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to