summaryrefslogtreecommitdiff
path: root/quotehostinfo
diff options
context:
space:
mode:
Diffstat (limited to 'quotehostinfo')
-rwxr-xr-xquotehostinfo7
1 files changed, 7 insertions, 0 deletions
diff --git a/quotehostinfo b/quotehostinfo
new file mode 100755
index 0000000..cd060ec
--- /dev/null
+++ b/quotehostinfo
@@ -0,0 +1,7 @@
+#!/bin/bash
+fil=/tmp/quotehostinfo$$
+echo compiled: `date` > $fil
+make -s tellcc >> $fil
+cat .host >> $fil
+echo \"`cat $fil | sed 's/.*/&\\\\n/'`\" | sed 's/\\n /\\n/g'
+rm $fil