[asterisk-biz] Android GSM phone supporting SIP client

John Rousseau john at vvpusa.net
Tue Jan 19 14:23:38 CST 2010


Now that is funny.

-----Original Message-----
From: asterisk-biz-bounces at lists.digium.com
[mailto:asterisk-biz-bounces at lists.digium.com] On Behalf Of Steve Edwards
Sent: Tuesday, January 19, 2010 2:20 PM
To: Commercial and Business-Oriented Asterisk Discussion
Subject: Re: [asterisk-biz] Android GSM phone supporting SIP client


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
 	RECIPIENT=asterisk-biz at lists.digium.com
 	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       sedwards at sedwards.com      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




More information about the asterisk-biz mailing list