nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8792be8
)
parser: use printf instead of echo -n
author
Jean-Sebastien Gelinas
<calestar@gmail.com>
Sat, 11 Jul 2009 20:54:03 +0000
(16:54 -0400)
committer
Jean Privat
<jean@pryen.org>
Tue, 14 Jul 2009 15:21:30 +0000
(11:21 -0400)
Signed-off-by: Jean-Sebastien Gelinas <calestar@gmail.com>
Signed-off-by: Jean Privat <jean@pryen.org>
src/parser/prescc.sh
patch
|
blob
|
history
diff --git
a/src/parser/prescc.sh
b/src/parser/prescc.sh
index
d82fe6f
..
01f8d6e
100755
(executable)
--- a/
src/parser/prescc.sh
+++ b/
src/parser/prescc.sh
@@
-59,7
+59,7
@@
infile=$1
outfile=$2
tmpfile=`mktemp "$2.XXXXXX"`
-echo -n "/* This file is autogenerated, do not modify it */" > "$outfile"
+printf "/* This file is autogenerated, do not modify it */" > "$outfile"
cat "$infile" >> "$outfile"
# The perl code is used to list all the available parameters in the extended grammar