bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with function cd in bash 4.0


From: Chet Ramey
Subject: Re: Problem with function cd in bash 4.0
Date: Wed, 25 Feb 2009 16:21:47 -0500

> > Yep, it's a bug.  Try the attached patch; it works for me.
> 
> this introduces a bug of it's own though :/.  you can no longer use ctrl+c to 
> escape from unbalanced quotes.
> 
> - type: echo '
> - hit enter
> - hit ctrl+c over and over
> - bash still waits for the ' to be balanced

Still not sure what extra stuff Linux runs to make this only fail there, but
here's a patch that should fix it.

Chet

Attachment: reset-parser-current-token
Description: Text document

``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    address@hidden    http://tiswww.tis.case.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]