Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Sorry, Preview is Wacked - Use this one' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Sorry, Preview is Wacked - Use this one
Authored by: thinkyhead on Jan 19, '02 06:49:44PM

#!/usr/bin/perl

#
# gag : say what fortune says, cleanly
# by slur, Jan 18 2002
#

$gag2 = $gag = `fortune`;
$gag2 =~ s/\n/ /g;
$gag2 =~ s/"/\\"\\"/g;
$gag2 =~ s/'/''/g;

print "\n$gag\n";
`/usr/bin/osascript -e 'say "$gag2"'`;



[ Reply to This | # ]