mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
Use [\]n to refer to the two characters '\' and 'n'. This is the correct way
according to SUS II. PR: #5212
This commit is contained in:
parent
6f2843fa20
commit
7f059e7255
4
genif.sh
4
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'
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user