>>>>> On Sun, 7 Dec 1997 20:22:00 +0000 (GMT)
>>>>> Ian Collier <imc@comlab.ox.ac.uk> said:
Ian> The correct fix is to modify the shell so that it has an option
Ian> (set -o nullmatch, say) which expands "*.bak" to the empty list
Ian> when there are no matching filenames.
In Bash it's "shopt -s nullglob". But IMHO this provokes even stranger
behaviour: "ls /dosc/*.bak" does not match, so "ls " is executed
instead. And I certainly didn't want to see the current directory.
Robbe
-- Robert Bihlmeyer reads: Deutsch, English, MIME, Latin-1, NO SPAM! <robbe@orcus.priv.at> <http://stud2.tuwien.ac.at/~e9426626/sig.html>