diff options
Diffstat (limited to 'quotehostinfo')
-rwxr-xr-x | quotehostinfo | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/quotehostinfo b/quotehostinfo index cd060ec..c014e28 100755 --- a/quotehostinfo +++ b/quotehostinfo @@ -1,7 +1,10 @@ -#!/bin/bash +#!/bin/sh fil=/tmp/quotehostinfo$$ -echo compiled: `date` > $fil +echo compiled: $(date) > $fil make -s tellcc >> $fil -cat .host >> $fil -echo \"`cat $fil | sed 's/.*/&\\\\n/'`\" | sed 's/\\n /\\n/g' + +echo host: $(uname -m) $(uname -s) $(uname -r) >> $fil +gcc -v 2>&1 | tail -1 >> $fil + +echo \"$(cat $fil | sed 's/.*/&\\\\n/')\" | sed 's/\\n /\\n/g' rm $fil |