Yahoo seems to have changed the behavior of some of their systems - stock was getting an ongoing stream, rather than the latest quote. Pointing it at a different (still Yahoo) site makes it work again. Also updated the default symbol (with some sadness) and made April 1 stand out again. Reference: /n/sources/patch/applied/stock-fix-download Date: Fri Dec 11 07:48:21 CET 2009 Signed-off-by: a@9srv.net --- /rc/bin/stock Fri Dec 11 07:46:44 2009 +++ /rc/bin/stock Fri Dec 11 07:46:43 2009 @@ -1,14 +1,14 @@ #!/bin/rc -stock=LU +stock=ALU if(! ~ $#* 0) stock=`{echo $*|tr a-z A-Z|sed 's/ /+/g'} -hget 'http://quote.yahoo.com/d/quotes.csv?s='^$stock^'&f=snl1d1c1v&e=.exe' | +hget 'http://download.finance.yahoo.com/d/quotes.csv?s='^$stock^'&f=snl1d1c1v&e=.exe' | sed 's/ +"/"/;s/ //' | switch(`{date}){ case *'Apr 1 '* - sed 's/("LU","LUCENT TECH INC"),([^,]*),(.*)$/\1,2.35,\3/' + sed 's/("ALU","ALCATEL LUCENT"),([^,]*),(.*)$/\1,72.35,\3/' case * cat }