> # Is there a nice way to check if any of a group of files > # exists using a wildcard? I don't want to get the pesky > # "No match" messages from ls or test when nothing exists.
for file in $mask;do break;done if [[ -a $file ]] then echo "files exist matching $mask" else echo "no files exist matching $mask" fi
No processes.