bug-bash archive search

Search String: Display: Description: Sort:

Results:

References: [ history: 1980 ] [ expansion: 3257 ] [ double: 1152 ] [ quotes: 1497 ] [ backslash: 814 ]

Total 171 documents matching your query.

141. Re: Escaping the history expansion character (score: 291)
Author: HIDDEN
Date: Sun, 08 Aug 2004 22:08:18 -0400
From the bash info page: Only `\' and `'' may be used to escape the history expansion character. I have tried the following: echo '!' # works fine, displays "!" echo "!" # errors as expected with "e
/archive/html/bug-bash/2004-08/msg00092.html (5,504 bytes)

142. Re: escaping exclamation in double quoted string (score: 278)
Author: HIDDEN
Date: Fri, 27 Jul 2007 17:37:43 -0600
Thank you for your report. However this is intended behavior. And it is also documented! :-) man bash Enclosing characters in double quotes preserves the literal value of all characters within the qu
/archive/html/bug-bash/2007-07/msg00078.html (5,963 bytes)

143. Re: inconsistent treatment of backslash-bang (score: 271)
Author: HIDDEN
Date: Wed, 23 Jul 2008 08:51:13 -0400
Really. This is from the man page, in the QUOTING section: Enclosing characters in double quotes preserves the literal value of all characters within the quotes, with the exception of $, `, \, and,
/archive/html/bug-bash/2008-07/msg00096.html (7,370 bytes)

144. Re: inconsistent treatment of backslash-bang (score: 270)
Author: HIDDEN
Date: Tue, 22 Jul 2008 23:38:01 +1200
If a printable character has special meaning in syntax for representing data strings, then in any situation where it's special, it is expected to be possible to disable that specialness by prefixing
/archive/html/bug-bash/2008-07/msg00084.html (9,198 bytes)

145. Re: inconsistent treatment of backslash-bang" (score: 266)
Author: HIDDEN
Date: Fri, 18 Jul 2008 16:38:57 +1200
But how come the backslash in double-quotes is both 1) inhibiting history expansion, and 2) causing a backslash to be printed? If it was being treated purely as a literal backslash, I would expect th
/archive/html/bug-bash/2008-07/msg00058.html (5,082 bytes)

146. Re: history character not quoted by "" (score: 266)
Author: HIDDEN
Date: Mon, 10 Feb 2003 16:04:47 -0500
The documentation needs fixing. The HISTORY section of the man page has this to say: History expansions are introduced by the appearance of the history expansion character, which is ! by default. On
/archive/html/bug-bash/2003-02/msg00032.html (5,874 bytes)

147. Re: inconsistent treatment of backslash-bang (score: 263)
Author: HIDDEN
Date: Mon, 21 Jul 2008 09:32:54 -0400
csh allows backslash to act as an escape character (that is, it is removed) when it precedes ! in a double-quoted string. Bash doesn't ... But if it doesn't, then why does bang not have its history-
/archive/html/bug-bash/2008-07/msg00083.html (8,856 bytes)

148. Re: Bug Report concerning backslash in bash5 (score: 258)
Author: HIDDEN
Date: Tue, 28 Jul 2020 22:41:52 -0400
I'm not sure what point you're trying to make here. Are you arguing that *printing* these backslash escapes is valid behavior here, and the reporter has merely misunderstood the shell rules? -- Eli S
/archive/html/bug-bash/2020-07/msg00137.html (6,427 bytes)

149. Re: Bash-5.1-rc3 available (score: 255)
Author: HIDDEN
Date: Sun, 11 Jul 2021 00:03:52 +0200
is this --branch bash-5.1-testing stilk actual, or should i use devel
/archive/html/bug-bash/2021-07/msg00043.html (42,065 bytes)

150. Bash-5.1-rc3 available (score: 255)
Author: HIDDEN
Date: Wed, 18 Nov 2020 11:02:25 -0500
The third release candidate of bash-5.1 is now available with the URL ftp://ftp.cwru.edu/pub/bash/bash-5.1-rc3.tar.gz and from the bash-5.1-testing branch in the bash git repository (http://git.savan
/archive/html/bug-bash/2020-11/msg00089.html (31,948 bytes)

151. Bash-5.1-rc2 available (score: 255)
Author: HIDDEN
Date: Wed, 4 Nov 2020 15:12:09 -0500
The second release candidate of bash-5.1 is now available with the URL ftp://ftp.cwru.edu/pub/bash/bash-5.1-rc2.tar.gz and from the bash-5.1-testing branch in the bash git repository (http://git.sava
/archive/html/bug-bash/2020-11/msg00025.html (31,507 bytes)

152. Re: Bug Report concerning backslash in bash5 (score: 252)
Author: HIDDEN
Date: Wed, 29 Jul 2020 01:35:32 -0400
My guess is that you're running into the fact that there are two types of quoting character. One quotes *any* character that follows it, and thus it never appears in "the output" unless it was double
/archive/html/bug-bash/2020-07/msg00136.html (5,154 bytes)

153. Bash-5.1-rc1 available (score: 250)
Author: HIDDEN
Date: Tue, 6 Oct 2020 16:52:52 -0400
The first release candidate of bash-5.1 is now available with the URL ftp://ftp.cwru.edu/pub/bash/bash-5.1-rc1.tar.gz and from the bash-5.1-testing branch in the bash git repository (http://git.savan
/archive/html/bug-bash/2020-10/msg00005.html (30,150 bytes)

154. Re: inconsistent treatment of backslash-bang (score: 238)
Author: HIDDEN
Date: Fri, 18 Jul 2008 17:35:51 +1200
Then why do they cause a difference in behaviour? Then why does “\!” act as “!” under any circumstances at all? Do you mean this sentence from section 9.3: “Only ‘\’ and ‘'’ may be
/archive/html/bug-bash/2008-07/msg00060.html (7,409 bytes)

155. Bash-5.1-beta available (score: 232)
Author: HIDDEN
Date: Thu, 10 Sep 2020 10:17:19 -0400
The first beta release of bash-5.1 is now available with the URL ftp://ftp.cwru.edu/pub/bash/bash-5.1-beta.tar.gz and from the bash-5.1-testing branch in the bash git repository (http://git.savannah.
/archive/html/bug-bash/2020-09/msg00019.html (28,905 bytes)

156. Re: inconsistent treatment of backslash-bang (score: 227)
Author: HIDDEN
Date: Wed, 16 Jul 2008 18:36:19 +0000
I find it adequate to set histchars to an empty string. -- Chris F.A. Johnson, webmaster <http://Woodbine-Gerrard.com> == Author: Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
/archive/html/bug-bash/2008-07/msg00042.html (7,480 bytes)

157. Re: inconsistent treatment of backslash-bang (score: 227)
Author: HIDDEN
Date: Wed, 16 Jul 2008 13:48:36 -0400
Yes, this is where the semantics of history expansion clash with traditional shell behavior. Only single quotes inhibit history expansion. Unfortunately, this violates Posix and traditional sh behav
/archive/html/bug-bash/2008-07/msg00041.html (6,785 bytes)

158. Bash-4.4-beta available for FTP (score: 224)
Author: HIDDEN
Date: Thu, 15 Oct 2015 10:23:21 -0400
The first beta release of bash-4.4 is now available with the URL ftp://ftp.cwru.edu/pub/bash/bash-4.4-beta.tar.gz This tar file includes the formatted documentation (you should be able to generate up
/archive/html/bug-bash/2015-10/msg00101.html (36,335 bytes)

159. Re: inconsistent treatment of backslash-bang (score: 212)
Author: HIDDEN
Date: Wed, 16 Jul 2008 16:06:14 +0200
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 quote
/archive/html/bug-bash/2008-07/msg00040.html (6,575 bytes)

160. Bash-5.1-alpha available for download (score: 211)
Author: HIDDEN
Date: Wed, 17 Jun 2020 10:47:42 -0400
The first alpha release of bash-5.1 is now available with the URL ftp://ftp.cwru.edu/pub/bash/bash-5.1-alpha.tar.gz and from the bash-5.1-testing branch in the bash git repository (http://git.savanna
/archive/html/bug-bash/2020-06/msg00064.html (25,551 bytes)


This search system is powered by Namazu