I know this is kind of off-topic and so last-week, but I don't think default tcsh does psuedo-spell checking by default. I have downloaded and compiled the lastest version on a solaris box here and it doesn't do it as shown below. Was this patched by apple maybe?
[jbalint@davinci|rmds02]/qmds/jbalint/20020319% grep Usage: grep [-E|-F] [-c|-l|-q] [-bhinsvwx] [file ...] grep [-E|-F] [-c|-l|-q] [-bhinsvwx] -e pattern... [-f pattern_file]...[file...] grep [-E|-F] [-c|-l|-q] [-bhinsvwx] [-e pattern]... -f pattern_file [file...] [jbalint@davinci|rmds02]/qmds/jbalint/20020319% grap grap: Command not found. [jbalint@davinci|rmds02]/qmds/jbalint/20020319% grip grip: Command not found. [jbalint@davinci|rmds02]/qmds/jbalint/20020319% grop grop: Command not found. [jbalint@davinci|rmds02]/qmds/jbalint/20020319% grup grup: Command not found. [jbalint@davinci|rmds02]/qmds/jbalint/20020319% -----Original Message----- From: Chris Devers [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 10:14 PM To: Gary Blackburn Cc: [EMAIL PROTECTED] Subject: Re: Bizarre expansion from the command line On Wed, 13 Mar 2002, Gary Blackburn wrote: > Humph. How annoying... it appears that under tcsh I not only have to > worry about the various and sundry Perl metacharacters but also a whole > menagerie of tcsh metacharacters, too. Blech. Welcome to the shell, here are your wildcards. This isn't just an issue with tcsh or Perl or bash, but a common and occasionally useful side effect of passing arguments to a program through the shell. Yeah, sometimes this can be annoying, but it can be a big timesaver too. Tcsh has a lot of nice time saving features like this. My favorite is the pseudo spell checker: mistype a command and it'll try to guess what you might have meantL % grep foo index.html ok? grep foo index.html ? yes <a href="foot.html">Foot</a> % Most these helper features can be worked around ot disabled if you don't want or need them, but if they really bug you that much you're welcome to switch to bash or another shell. Personally though, I think it's a good thing to be comfortable with at least a couple of different shells (e.g. a Bourne based shell like bash & a csh based shell like tcsh). Sometimes you could be on a system where you don't have a choice, so being flexible can help you out there... -- Chris Devers [EMAIL PROTECTED] Apache / mod_perl / http://homepage.mac.com/chdevers/resume/
