Howdy:
I am not familiar with using 'if' in a script and I have
come across a list of new scripts that I now
have to learn / maintain. In most of the scripts,
there are things that begins with if (0).
Say, for example:
--[code]
if (0) {
$path="$dest/new_local";
makepath ($path);
&first(1);
}
--[/code]
I'm not clear on a few things. First, with 'if (0)',
is this expecting that the commands BEFORE
this returns a true / competed successful
value before it runs through this part of the
code? Or, is this another way of saying
'while true; do ... ; done' ?
Also, is 'makepath' an ACTUAL command? I've never
seen that before.
Thanks!
-X