Skip to content

Instantly share code, notes, and snippets.

#!/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
@jan-vandenberg
jan-vandenberg / .vimrc
Last active June 9, 2023 18:51
.vimrc
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