From a13adb662931a9fd7dc283e6caf907223dc85c22 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Mon, 14 May 2001 18:39:19 +0000 Subject: [PATCH] * doc/autoconf.texi (Shellology): Document a quirk in here-document handling on OpenBSD. --- ChangeLog | 5 +++++ doc/autoconf.texi | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index e95aa811..29cc6cd6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-05-04 Pavel Roskin + + * doc/autoconf.texi (Shellology): Document a quirk in + here-document handling on OpenBSD. + 2001-05-11 Akim Demaille * aclang.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): No longer use the diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 4784cd85..9970bacd 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -5247,6 +5247,15 @@ To detect whether you are running @command{bash}, test if Mode,, Bash @sc{posix} Mode, bash, The GNU Bash Reference Manual}, for details. +@item @command{/bin/sh} on OpenBSD +@cindex @command{/bin/sh} on OpenBSD + +@samp{\"} expands to @samp{"} in here-in documents with unquoted +delimiter in the native @command{/bin/sh} on OpenBSD 2.7. As a general +rule, if @samp{\\} expands to @samp{\} use @samp{\\} to get @samp{\}. +Don't rely on @samp{\} being preserved just because it has no special +meaning together with the next symbol. + @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