| Subject: | Re: inconsistent treatment of backslash-bang |
|---|---|
| From: | pk <pk@xxxxxxxxxx> |
| Date: | Wed, 16 Jul 2008 16:06:14 +0200 |
| Newsgroups: | gnu.bash.bug |
On Wednesday 16 July 2008 04:47, Lawrence D'Oliveiro wrote: > Description: > In all contexts in which a character "X" has special meaning to bash, it > should be possible to insert that character literally by writing "\X". > This fails in one case: where "X" is "!", and the context is inside double > quotes. That is documented in man bash, and only appens in interactive shells (not scripts). You can disable history expansion (set +H, set +o histexpand) to avoid the problem, or use \! outside double quotes. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: inconsistent treatment of backslash-bang, pk |
|---|---|
| Next by Date: | Re: inconsistent treatment of backslash-bang, Chet Ramey |
| Previous by Thread: | Re: inconsistent treatment of backslash-bang, pk |
| Next by Thread: | Re: inconsistent treatment of backslash-bang, Chet Ramey |
| Indexes: | [Date] [Thread] [Top] [All Lists] |