Register
It is currently Mon Aug 29, 2016 6:54 am

grabs the nasdaq top performers


All times are UTC - 6 hours


Post new topic Reply to topic  [ 8 posts ] 
Author Message
 PostPosted: Thu Jul 17, 2014 7:50 am   
Site Admin
User avatar

Joined: Sun May 15, 2005 9:36 pm
Posts: 691
Location: Des Moines, Iowa
I've had that happen alot as well :)
I was using google finance for what I was doing though.

the "curl" command can send data to a website.


Top
 Profile WWW  
 PostPosted: Mon Jul 11, 2016 12:26 pm   

Joined: Mon Apr 18, 2016 9:49 am
Posts: 2
at some point I'll have to repost the missing script, I've refined it even further since this now missing post


Top
 Profile  
 PostPosted: Mon Aug 22, 2016 9:09 am   

Joined: Mon Apr 18, 2016 9:49 am
Posts: 2
here is a simple version of the hack of your script to use a list of stocks

cat while do value "/folder/filename"

echo value

$value

stock ($value)
{
lynx -dump "http://www.google.com/finance?client=ob&q=${1}" | sed 's/.*']'//' | perl -00ne "print if /Watch this stock/i" | sed 's/Watch this stock//' | sed 's/Disclaimer//' | sed '/^$/d' | sed 's/Currency in USD//' > "/folder/$value.txt"
}


Top
 Profile  
 PostPosted: Mon Aug 22, 2016 9:41 am   

Joined: Mon Oct 20, 2014 9:53 am
Posts: 460
What is this?
Except some syntax errors in a shell.


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP