#!/bin/sh fil=/tmp/quotehostinfo$$ echo compiled: $(date) > $fil make -s tellcc >> $fil 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