This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
IFS=$'\n' | |
wget -O /tmp/rss https://feeds.fireside.fm/appelsenperenshow/rss | |
grep -B5 mp3 /tmp/rss|grep -E 'title|enclosure'|grep title|sed 's/<title>//g'|sed 's/<\/title>//g'|sed -e 's/^[ \t]*//' |sed 's/!//g'|sed 's/,//g'| sed "s/'//g" > /tmp/titles | |
grep -B5 mp3 /tmp/rss|grep -E 'title|enclosure'| grep mp3 |awk {'print $2'} |awk -F \" {'print $2'} > /tmp/mp3 | |
paste -d \| /tmp/titles /tmp/mp3 > /tmp/alles | |
awk -F\| '{print "wget -O \x27" $1".mp3\x27" " " $2}' /tmp/alles > /tmp/downloadall.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
set nocompatible | |
" Fast finger fixes | |
command W w | |
command Wq wq | |
command WQ wq | |
" Start where you left off | |
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif |