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:
Sascha Schumann 2000-06-27 16:22:26 +00:00
parent 6f2843fa20
commit 7f059e7255

View File

@ -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'