[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Documenting here-document quirk on OpenBSD
From: |
Pavel Roskin |
Subject: |
Documenting here-document quirk on OpenBSD |
Date: |
Fri, 4 May 2001 10:43:56 -0400 (EDT) |
Hello!
Sorry that it has taken so long to make this patch.
____________________________________
--- ChangeLog
+++ ChangeLog
@@ -1 +1,6 @@
+2001-05-04 Pavel Roskin <address@hidden>
+
+ * doc/autoconf.texi (Shellology): Document a quirk in
+ here-document handling on OpenBSD.
+
2001-04-27 Akim Demaille <address@hidden>
--- doc/autoconf.texi
+++ doc/autoconf.texi
@@ -5247,6 +5247,15 @@
Mode,, Bash @sc{posix} Mode, bash, The GNU Bash Reference Manual}, for
details.
address@hidden @command{/bin/sh} on OpenBSD
address@hidden @command{/bin/sh} on OpenBSD
+
+As a general rule, if @samp{\\} expands to @samp{\} use @samp{\\} to
+get @samp{\}. Don't rely on @samp{\} being preserved because it has
+no special meaning together with the next symbol. Notably, @samp{\"}
+expands to @samp{"} in here-in documents with unquoted delimiter
+under @command{/bin/sh} on OpenBSD 2.7.
+
@item @command{/usr/xpg4/bin/sh} on Solaris
@cindex @command{/usr/xpg4/bin/sh} on Solaris
The @sc{posix}-compliant Bourne shell on a Solaris system is
____________________________________
Regards,
Pavel Roskin
- Documenting here-document quirk on OpenBSD,
Pavel Roskin <=