On Fri, Sep 07, 2001 at 01:01:44AM -0500, Craig S. Cottingham wrote:
> > E.g., if pwd is
> >   /Users/me/Documents/LearnC/FirstSteps
> > then I'd like
> >   .../LearnC/FirstSteps
> > to display in the title bar (or on the prompt).

Maybe sed is "good enough" for this job?

sed -e 's|..*\(/.*/.*\)$|...\1|'

-Sven
-- 
If elected, Zippy pledges to each and every American a 55-year-old houseboy ...

Reply via email to