Patch to Bash man page to explain new semantics of quoted regexps for the =~ operator

2007-03-24 Thread Fran Litterio
The below patch to the Bash man page adds some prose to explain the recent change to how regular expressions are parsed with the =~ operator. I hope this helps. One of the lines in the patch is kind of long. I could not figure out how to break it in a way that did not mess up the appearance of t

Patch to man page to fix formatting error caused by a typo

2007-03-30 Thread Fran Litterio
This patch fixes a typo in the man page that was causing formatting problems. -- Francis Litterio --- bash.1~ 2007-03-24 17:15:06.459699200 -0400 +++ bash.1 2007-03-30 15:17:56.564707200 -0400 @@ -2550,7 +2550,7 @@ pathname expansion. \fIParameter\fP is expanded and the longest match of

Re: shouldn't prompt printing be smarter?

2007-04-01 Thread Fran Litterio
Also, creating an "option" to decide which behaviour should be followed (current one or the one I propose) would make everyone happy It should be possible to code a value for PROMPT_COMMAND that sends the cursor position report escape sequence (for xterm this is "\033[6n"), learn the position of

Re: Bash auto-logout truncates "timed out waiting for input: auto-logout " string

2007-04-13 Thread Fran Litterio
Wouldn't a call to exit() flush any unwritten output buffers? -- Fran On 4/13/07, Mike Frysinger <[EMAIL PROTECTED]> wrote: On Friday 13 April 2007, Chet Ramey wrote: > West Stephen-QSW000 wrote: > > Configuration Information [Automatically generated, do not change]: > > Machine: powerpc > > OS:

Re: regex subexpressions broken

2007-05-11 Thread Fran Litterio
Ortwin wrote: [[ "a b c" =~ "a (.) c" ]] echo ${BASH_REMATCH[1]} Recently, a change was made to cause quotes to suppress the special meaning of regular expression characters in the right-hand side of =~. This is how to do the above now: [[ "a b c" =~ a\ (.)\ c ]] I submitted a patch to t