cvs: php4 / genif.sh
| From: | Sascha Schumann | Date: | Tue, 27 Jun 2000 16:22:26 +0000 |
| Subject: | cvs: php4 / genif.sh | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-508@lists.php.net to get a copy of this message | ||
sas Tue Jun 27 09:22:26 2000 EDT
Modified files:
/php4 genif.sh
Log:
Use [\]n to refer to the two characters '\' and 'n'. This is the correct way
according to SUS II.
PR: #5212
Index: php4/genif.sh
diff -u php4/genif.sh:1.8 php4/genif.sh:1.9
--- php4/genif.sh:1.8 Sat Mar 25 18:46:59 2000
+++ php4/genif.sh Tue Jun 27 09:22:26 2000
@@ -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 @@
sed \
-e "s'@EXT_INCLUDE_CODE@'$includes'" \
-e "s'@EXT_MODULE_PTRS@'$module_ptrs'" \
- -e 's/\\n/\
+ -e 's/[\]n/\
/g'