Skip to content

Instantly share code, notes, and snippets.

@tomgraion
tomgraion / radio.sh
Created April 21, 2015 14:11
This is a function to play radios from a txt in mplayer in Linux.
function radio (){
mplayer `cat radios.txt | grep "$1" | grep -o 'http.*$' `
}