summaryrefslogtreecommitdiff
path: root/file2header.sh
blob: 8b37b8eb512620e1a59aa12ea6adc27cbf6ad581 (plain)
1
2
3
4
5
#!/bin/sh

echo "const char *default_config ="
cat $1|sed 's/\\/\\\\/g'|sed 's/"/\\"/g'|sed 's/^/\"/'|sed 's/$/\\n\"/'
echo ";"