Path: utzoo!mnetor!uunet!husc6!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!cornell!batcomputer!itsgw!steinmetz!davidsen From: davidsen@steinmetz.steinmetz.UUCP (William E. Davidsen Jr) Newsgroups: comp.unix.questions Subject: Re: Flaming Escapes - a Partly Baked Idea Message-ID: <9840@steinmetz.steinmetz.UUCP> Date: 8 Mar 88 14:53:48 GMT References: <12162@brl-adm.ARPA> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Organization: General Electric CRD, Schenectady, NY Lines: 19 I don't think this is a good idea. Perhaps in a world where no one mistyped a command of got a command zapped by communications lines, but not for me, thanks. UNIX does enough interesting things with mistyped commands at the shell level, without adding a "pseudo shell" level. Implementation: I guess you could chase the path yourself, but that would be a pain. The Korn shell "whence" command will return a path for any valid command including builtins. You could popen the shell and ask if the command is valid. Yes, I know I'm telling him how to implement a bad idea, but I hate people who won't let me make a fool of myself... -- bill davidsen (wedu@ge-crd.arpa) {uunet | philabs | seismo}!steinmetz!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me