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

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