Skip to content

Instantly share code, notes, and snippets.

@ramiror
ramiror / dolarmep.sh
Created March 18, 2020 04:17
Dolar MEP IOL
precio() {
curl -s https://www.invertironline.com/titulo/cotizacion/BCBA/$1/BONOS-NACION-ARGENTINA-USD-8-75--2024/ | grep 'data-field="UltimoPrecio"' | sed "s/.*>\(.*\)<.*/\1/;s/\.//;s/,/./"
}
{
precio AY24
precio AY24D
} | {
read pesos
read dolares