On Monday, 3 March 2003 at 10:57:01 -0800, Rus Foster wrote: > On Fri, 28 Feb 2003 [EMAIL PROTECTED] wrote: > >> FBSD-4.7R >> >> on other BSD's, and with ftp(1), 'cd x*' will cd >> to the 1st match. FBSD used to work this way >> as well a few minor versions ago. >> >> these days it crashes with 'too many arguments' >> if there is more than one match. i 'object' >> to this behavior :) i would like to report >> it as a bug ... is there a good reason for >> it's current behavior? > > Its not FBSD rather than the shell expansion. Depending on the shell it > will act in different ways. So best advice would be either hack the shell > source code or find a shell with different behaviour
It's not a good idea to rely on this kind of misfeature. I'd recommend using a shell with file name completion, such as bash or tcsh. Then you can press the tab key instead of * and see what you're changing to. Greg -- See complete headers for address and phone numbers Please note: we block mail from major spammers, notably yahoo.com. See http://www.lemis.com/yahoospam.html for further details.
pgp00000.pgp
Description: PGP signature