From cf3060c7c8340d3e4626d17d2398793cebce2f66 Mon Sep 17 00:00:00 2001 From: Michael Murtaugh Date: Tue, 14 Nov 2023 10:19:45 +0100 Subject: [PATCH] comments --- pad-to-edit.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pad-to-edit.sh b/pad-to-edit.sh index 7034819..dd687f6 100644 --- a/pad-to-edit.sh +++ b/pad-to-edit.sh @@ -1,13 +1,20 @@ +#!/bin/bash +# Download the text of a pad wget https://pad.xpub.nl/p/radioworm-20231107/export/txt -O radioworm-20231107.pad.txt +# convert the pad to a CSV python3 scripts/split-urls-csv.py < radioworm-20231107.pad.txt | \ python3 scripts/csv-add-end.py > radioworm-20231107.csv +# Filter the CSV with a keyword csvgrep -c text -m "#intro" radioworm-20231107.csv > radioworm-20231107.intro.csv +# Generate a shell script python3 scripts/csv-to-melt.py < radioworm-20231107.intro.csv > edit.sh +# Get the source wget https://hub.xpub.nl/chopchop/worm/xpub/radioworm-20231107.ogg +# Perform the edit bash edit.sh