This commit is contained in:
root 2017-06-21 21:55:11 +02:00
parent 897137d111
commit 2fd0d7f8cd

7
asciiConvert1.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
: ${1?"Aufruf: $0 <ascii text Datei>"}
while read line; do
escapedLine=$(echo $line | sed 's/\([$\"`]\)/\\\1/g')
echo "echo -e \"$escapedLine\""
done < $1