lumini_p30_control/tools/html2string.sh

5 lines
114 B
Bash

#!/bin/bash
cat $1 | sed -e"s/^ *//ig" | sed -e 's/"/\\"/ig' | sed -e "s/^/\"/ig" | sed -e "s/$/\"/ig"
echo ";"