diff --git a/root/template.sh b/root/template.sh index 449a5de..8c252c2 100755 --- a/root/template.sh +++ b/root/template.sh @@ -1,3 +1,5 @@ #!/bin/sh -cat "${0%/*}/$1.in" | tr '\n' '|' | sed -e 's/|*$//' -e 's/|/\\n/g' -e 's/&/\\&/g' -e 's/$/\\n\n/' +cat "${0%/*}/$1.in" | + tr '\n' '|' | sed -e 's/|*$//' -e 's/|/\\n/g' -e 's/$/\\n\n/' \ + -e 's/&/\\&/g' -e 's/,/\\,/g'