diff --git a/asciiConvert1.sh b/asciiConvert1.sh new file mode 100755 index 0000000..67bd794 --- /dev/null +++ b/asciiConvert1.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +: ${1?"Aufruf: $0 "} +while read line; do + escapedLine=$(echo $line | sed 's/\([$\"`]\)/\\\1/g') + echo "echo -e \"$escapedLine\"" +done < $1