Re: shouldn't prompt printing be smarter?

2007-04-02 Thread Thomas Dickey
Chet Ramey [EMAIL PROTECTED] wrote: Fran Litterio wrote: 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

Re: [Bug 103756] kate: syntax highlighting error: bash and escaped quotes

2007-04-02 Thread Matthew Woehlke
Carsten Lohrke wrote: Current bash.xml accepts (a), but not (b). The single qoute is the start of string highlight. It's also not just the backtick block, but the backtick block inside of a double quote string block - and vice versa. x=`echo \'`is valid My bash highlighter thinks this

Re: how does bash parse back-ticks, anyway?

2007-04-02 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Matthew Woehlke on 4/2/2007 5:09 PM: Matthew, it's not a bug in bash, it's a feature. $(foo) and `foo` are not 100% equivalent. Read the command substitution paragraph in the bash man page. I did, and I saw that it talked about them