]>
jfr.im git - irc/thales.git/blob - ReportUsage.sh
e4898a828a561f99207eff3d49f5ac1418c70580
3 echo "I'd like to collect some infos about who is using thales. This will only"
4 echo "take a few seconds to answer the questions."
6 echo "Do you agree to answer them now [Y/N] ? (you can answer them later by"
7 echo "running ./ReportUsage.sh in thales' directory)."
10 if [ "X$answer" = "XN" -o "X$answer" = "Xn" ]; then
14 echo "On which network are you using thales ? Please give exact name, so that I"
15 echo "can eventually connect and say hi !"
19 echo "Which ircd are you using ?"
23 echo "What is the main language used on your network ?"
27 echo "What is the approximate number of users on your network ?"
31 echo "What is your email address ? (you don't _need_ to answer this one)"
35 version
=`cat configure.in |grep AM_INIT_AUTOMAKE\(thales |sed -e 's/.*thales, \(.*\))/\1/'`
36 cat > mail.txt
<< ENDOFFILE
46 Please mail this file to thales-usage@lucas-nussbaum.net
49 echo "OK, that's all. Here are the results, saved in mail.txt :"
53 echo "Do you want me to mail the file using the standard unix 'mail'"
54 echo "command ? [Y/N]"
57 if [ "X$answer" = "XN" -o "X$answer" = "Xn" ]; then
58 echo "OK, please mail the content of mail.txt to thales-usage@lucas-nussbaum.net"
62 cat mail.txt
|mail -s "thales usage" thales
-usage@lucas
-nussbaum.net
63 echo "mail sent, thanks !"