summaryrefslogtreecommitdiff
path: root/synth/text_to_h.sh
diff options
context:
space:
mode:
Diffstat (limited to 'synth/text_to_h.sh')
-rwxr-xr-xsynth/text_to_h.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/synth/text_to_h.sh b/synth/text_to_h.sh
new file mode 100755
index 0000000..86ed89b
--- /dev/null
+++ b/synth/text_to_h.sh
@@ -0,0 +1 @@
+sed -e 's,\\,\\\\,g' | sed -e 's,",\\",g' | sed -e 's,^\(.*\)$,"\1\\n"\\,' && echo '""'