in reply to Re: a glob w/ no wildcards returns itself
in thread a glob w/ no wildcards returns itself
will have to rule the day.$ perl -le 'print grep { -f } glob "foo.c"'
In bash you can do:
but then ls generates full dir listings on failed globs.$ shopt -s nullglob $ echo foo.?
|
|---|