summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-06-27 16:22:26 +0000
committerSascha Schumann <sas@php.net>2000-06-27 16:22:26 +0000
commit7f059e7255cc06e22c837f3f36ed6965c97452bd (patch)
tree636f8a4ff7a95f2bd6694df4b376a9b856e6f87c
parent6f2843fa20a15b81a36cb1a27d419d83f768447d (diff)
downloadphp-git-7f059e7255cc06e22c837f3f36ed6965c97452bd.tar.gz
Use [\]n to refer to the two characters '\' and 'n'. This is the correct way
according to SUS II. PR: #5212
-rw-r--r--genif.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/genif.sh b/genif.sh
index 787b9dbc96..968250f439 100644
--- a/genif.sh
+++ b/genif.sh
@@ -1,6 +1,6 @@
#! /bin/sh
-# $Id: genif.sh,v 1.8 2000-03-26 02:46:59 sas Exp $
+# $Id: genif.sh,v 1.9 2000-06-27 16:22:26 sas Exp $
# replacement for genif.pl
infile="$1"
@@ -36,7 +36,7 @@ cat $infile | \
sed \
-e "s'@EXT_INCLUDE_CODE@'$includes'" \
-e "s'@EXT_MODULE_PTRS@'$module_ptrs'" \
- -e 's/\\n/\
+ -e 's/[\]n/\
/g'