Skip to content

Instantly share code, notes, and snippets.

@leogallego
Created September 13, 2018 18:19
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save leogallego/8920bbfca68ab56cd5ed68c647cebfde to your computer and use it in GitHub Desktop.
#!/bin/bash
while [ 1 ];
do
echo -n "BNA cotizacion `date` -----> " ;
curl http://www.bna.com.ar/Personas 2> /dev/null | grep -a \<td| sed '3q;d'|sed 's|<[^>]*>||g' | sed -e 's/^[ \t]*//';
sleep 30;
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment