Roy Marples wrote: [Mon Nov 06 2006, 12:44:42PM EST]
> +if [[ $'\n'$(get_mounts) =~ $'\n'${svcdir}\ && -w ${svclib} ]] ; then
Shouldn't this be:
if [[ $'\n'$(get_mounts) == $'\n'"${svcdir} " ...
because I don't think you want to treat the RHS as either a regex (=~)
or a glob (unquoted).
Aron
--
[email protected] mailing list
