mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02: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
1 changed files with 2 additions and 2 deletions
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…
Add table
Add a link
Reference in a new issue