git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@645
c11ca15a-4712-0410-83d8-
924469b57eb5
listvalues: E: ## blootbot
quote: D: Frontend to yahoo's online stock market share listing
-quote: U: ## <query>
-quote: E: ## RHAT
+quote: U: ## <query...>
+quote: E: ## RHAT,MSFT
topic add: D: Add your own topic
topic add: U: ## <topic>
my ($reply);
foreach my $result (@results) {
- chomp $result;
# get rid of the quotes
$result =~ s/\"//g;
$high, $low, $volume) = split(',',$result);
# add some commas
- my $newvol = commify($volume);
+ # "+ 0" removes trailing cr/lf/etc.
+ my $newvol = commify($volume + 0);
$reply .= ' ;; ' if $reply;
$reply .= "$ticker: $recent ($high/$low), $date $time, " .