On Tue, 19 Jan 2010, Dan Journo wrote: > Wow, I've never seen anyone so interested in EVERYTHING!
I vote to "replace him with a very small shell script." http://www.thinkgeek.com/tshirts-apparel/unisex/frustrations/374d/ #!/bin/bash # # Filename: info-info.sh # # Abstract: This script generates nonsense # # Environment: Unix, bash # # Author: Steven L. Edwards # define variables DICT=/usr/share/dict/words [email protected] RECIPIENT=${USER} # extract a random word from DICT function random_word() { tail --lines=+$((${RANDOM} * 14)) ${DICT} | head --lines 1 } # create the subject SUBJECT="$(random_word) $(random_word)" # create the body BODY= for (( MESSAGE_LENGTH=$((${RANDOM} % 5)) ; MESSAGE_LENGTH ; --MESSAGE_LENGTH )) do BODY="${BODY} $(random_word)" done # output the email echo "To: ${RECIPIENT}" echo "Subject: ${SUBJECT}" echo echo 'Dear List,' echo echo "I am very very interested in${BODY}?" echo echo 'Thanks & Best Regards,' echo 'J[o]k[e]softwaresolutions Technical Team' # (end of info-info.sh) Surprisingly, it generates more intelligible posts than most of the recent posts -- at least it gets the spelling correct :) Maybe we could have a contest... -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards [email protected] Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-biz mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-biz
