diff options
Diffstat (limited to 'pl')
-rwxr-xr-x | pl | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -12,4 +12,15 @@ storm=https://rss.acast.com/stormensutveckling ts=https://rss.art19.com/thinkspot-presents unb=https://unbelievable.podbean.com/feed.xml -eval echo \$$1 +# Write all +if test "$1" = -a +then eval echo $(grep '^[a-z]*=' "$0" | sed 's/=.*//; s/^/$/') | tr ' ' ' +'; exit +fi + +# Optional interactive selection +if test -z "$1" +then eval echo $(grep '^[a-z]*=' "$0" | ep | sed 's/=.*//; s/^/$/') | tr ' ' ' +' +else eval echo \$$1 +fi |