1234567891011121314 |
- #!/bin/rc
- stock=LU
- 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' |
- sed 's/ +"/"/;s/
//' |
- switch(`{date}){
- case *'Apr 1 '*
- sed 's/("LU","LUCENT TECH"),([^,]*),(.*)$/\1,2.35,\3/'
- case *
- cat
- }
|