Re:Bash Shell Scripting in 10 seconds
by nescafe on Monday February 27, 2012 @11:05AM
(#3639404)
Incorrect. Word splitting does not happen in [[ ]] tests. The only reason I had the [[ -f $file ]] || continue is to handle the case where there are no .java files, which will cause the for loop to iterate once with file set to '*.java'. i could have also used nullglob,but chose not to.
[ Parent
| on HN ]
There are no comments on this comment yet.