home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / gnu / bash / bug / 699 next >
Encoding:
Text File  |  1992-12-12  |  1.6 KB  |  39 lines

  1. Newsgroups: gnu.bash.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!netcom.com!maw
  3. From: maw@netcom.com (Martin Walker)
  4. Subject: Missing functionality from BASH ?
  5. Message-ID: <1992Dec12.190958.9979@netcom.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: Netcom - Online Communication Services  (408 241-9760 guest)
  8. Distribution: gnu
  9. Date: Sat, 12 Dec 1992 19:09:58 GMT
  10. Approved: bug-bash@prep.ai.mit.edu
  11. Lines: 26
  12.  
  13. I know BASH is supposed to be POSIX compliant and all that, but not having
  14. the POSIX standards documents, I don't know whether the following minor
  15. features of the Korn shell are missing from BASH, or missing from POSIX:
  16.  
  17. a) CDSPELL. In ksh (or at least on SCO's ksh), if you mis-type a directory
  18.    name, cd finds the closes matching directory, and prompts you for a
  19.    y/n entry. Each time you say no to a directory, it carries on seaching
  20.    down CDPATH for another possible match. Only one the end of all possible
  21.    directories have been refused as options, does cd report that the directory
  22.    does not exist.
  23.  
  24. b) cd name substitution. If your current directory is, say /usr/spool/uucp
  25.    and you type in 'cd spool lib', ksh changes you to /usr/lib/uucp. ksh
  26.    substitutes the second parameter for that portion of PWD that matches
  27.    the first parameter. Very usefull feature that.
  28.  
  29. I hope to see these features in the next release of BASH. Congratulations
  30. to GNU on a damn fine shell otherwise.
  31.  
  32. Kean Johnston.
  33. -- 
  34. Martin Walker               |  "One way to stop a runaway horse
  35. ++27-12-344-3973 (w)        |   is to bet on him"
  36. ++27-12-998-7263 (h)        |   maw@netcom.com
  37. Pretoria, South Africa      |   martin@paradigm.CO.ZA
  38.  
  39.