/bin/sh: wildcard expansion fails

No at SPAM at mgEDV.net nospam at mgedv.net
Tue May 16 12:47:38 PDT 2006


i know things like "cat *lst|wc", but i don't want to type them.
when i try to use wildcards with "<" or ">" in /bin/sh, it fails:

my input (only one file with this name exists in the current dir):
wc <*lst

/bin/sh's output:
cannot open *lst: No such file or directory

is there a way to configure /bin/sh for "more/better" expansion?
btw, with csh it works fine ;-)



More information about the freebsd-questions mailing list