Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2006 21:47:34 +0200
From:      "No@SPAM@mgEDV.net" <nospam@mgedv.net>
To:        <freebsd-questions@freebsd.org>
Subject:   /bin/sh: wildcard expansion fails
Message-ID:  <000301c67921$941b5a20$01010101@avalon.lan>

next in thread | raw e-mail | index | archive | help

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 ;-)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000301c67921$941b5a20$01010101>