summaryrefslogtreecommitdiff
path: root/quotehostinfo
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2022-03-04 12:32:20 -0500
committerJakob Kaivo <jkk@ung.org>2022-03-04 12:32:20 -0500
commit55f277e77428d7423ae906a8e1f1324d35b07a7d (patch)
tree5c1c04703dff89c46b349025d2d3ec88ea9b3819 /quotehostinfo
import Miranda 2.066 from upstream
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