Skip to content

Instantly share code, notes, and snippets.

@leogallego

leogallego/rio.sh

Last active Sep 13, 2018
Embed
What would you like to do?
#!/bin/bash
while [ 1 ];
do echo -n "RIO cotizacion `date` -----> " ;
curl https://banco.santanderrio.com.ar/exec/cotizacion/index.jsp 2> /dev/null | grep -a \<td\> | head -n 3 | cut -d " " -f 2 | cut -d "<" -f 1 | tail -n 1;
sleep 30;
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment