Date: Thu, 09 Feb 2006 21:13:49 +0100 From: Jorn Argelo <jorn@wcborstel.nl> To: Kristian Vaaf <vaaf@broadpark.no> Cc: questions@freebsd.org Subject: Re: A script for poets Message-ID: <43EBA27D.9080400@wcborstel.nl> In-Reply-To: <7.0.1.0.2.20060208202634.0211cea8@broadpark.no> References: <7.0.1.0.2.20060208202634.0211cea8@broadpark.no>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > "freebsd-questions-unsubscribe@freebsd.org" 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43EBA27D.9080400>