Looks like 'ls -1 myfile* 2> /dev/null' is the simpliest one-line solution to determine if one or more files matching the pattern exist (without throwing a nuisance error message).

Thanks to everyone who replied.

Michael Hipp
(Former Microsoft supporter and Caldera user and not proud of either :-)

_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to