Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!eecae!netnews.upenn.edu!rutgers!psuvax1!psuvm.bitnet!art100 From: ART100@PSUVM.BITNET (Andy Tefft) Newsgroups: comp.sources.wanted Subject: an intelligent cd Message-ID: <77813ART100@PSUVM> Date: 27 Mar 89 03:57:15 GMT Organization: Penn State University - Center for Academic Computing Lines: 24 Ever since I started using Unix a couple of months ago, I've wanted a 'smart' cd. For example, let's say I have the following directory: /usr/a1t/src/X11/xgif/ and I want to cd to it, but instead accidentally type cd /usr/a1t/src/X11/xgfi What I would like, instead of the normal 'not found' is something that would change me to X11 - and tell me so - so I don't have to type the whole thing again. I know I can solve this by changing one directory at a time, and using command history to redo it, but still.... Anyone seen a program to do this? Or is there some standard way? (if so, please feel free to move the discussion elsewhere, but PLEASE reply by email so I know). Andy Tefft art100@psuvm.psu.edu / art100@psuvm.bitnet / a1t@psusun01.psu.edu (the psusun01 account is where the thing would be used, so it might be a better idea to reply there, but we get no news there)