Kristian Vaaf wrote:


Hello!

Again with my script requests, this time I'm wondering if anybody
has ever felt like writing a shell script that makes it easy to write rhymes,
poems or just make up funny lines.

http://www.rhymer.com is a great place, but unfortunately it requires a browser.

Or maybe this is a feature that extends beyond the purpose of shell scripting,
and that maybe for such I should start looking into languages like Ruby?

Hoping for generous expert advise.

Thank you, peasants and poets :)

Vaaf (wuff)

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Hmm, maybe you could use LWP (libwww-perl) to execute search queries to a site like rhyme.poetry.com and then get the results in an array and do whatever you want with the output. Basically LWP is capable of printing out the raw HTML format, so a little bit of handy dandy perl functions would help a lot. LWP is a very nice perl module, and I suggest you look into that if you want to use an existing site to get your rhymes out.

Cheers,

Jorn
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to