Mailinglist Archive: opensuse (1332 mails)
| < Previous | Next > |
Re: [opensuse] Re: apache mod_rewrite
- From: Randall R Schulz <rschulz@xxxxxxxxx>
- Date: Sun, 3 May 2009 12:01:14 -0700
- Message-id: <200905031201.14240.rschulz@xxxxxxxxx>
On Sunday May 3 2009, Jim Henderson wrote:
No. The grammar of BASH includes history expansion in double-quoted
strings. Only single-quoted strings protect against history expansion.
If by "should" you mean to express a disagreement with the authors of
BASH on when history expansion should be active, well, that's your
prerogative, but it's not how things are.
We're talking about computers here. If we don't speak their language,
desired results cannot be exected. If there's a command interpreter
you'd like to work with and it doesn't exist, you'll have to create it
or commission its creation yourself.
Clearly it is.
Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
...
Bash *should* have induced that the "!" was in a quoted line and
shouldn't have expanded it. It did for some reason - maybe because
Duaine put two single quotes instead of a double quote at the start
of the string. I don't know why and I don't particularly care.
No. The grammar of BASH includes history expansion in double-quoted
strings. Only single-quoted strings protect against history expansion.
If by "should" you mean to express a disagreement with the authors of
BASH on when history expansion should be active, well, that's your
prerogative, but it's not how things are.
...
In other words, the intention was interpreted incorrectly by the
shell.
We're talking about computers here. If we don't speak their language,
desired results cannot be exected. If there's a command interpreter
you'd like to work with and it doesn't exist, you'll have to create it
or commission its creation yourself.
If you want to insist that my read of this is incorrect, fine.
Clearly it is.
...
Jim
Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |