alexkarle.com

Source for alexkarle.com
git clone git://git.alexkarle.com/alexkarle.com.git
Log | Files | Refs | README | LICENSE

commit b4d864dcedfe2cb5e6bde414c5be8d274412307a (patch)
parent 395501042169372aa428b33746e7fc9408ecfe80
Author: Alex Karle <alex@alexkarle.com>
Date:   Wed, 23 Jun 2021 00:08:04 -0400

jam-tuesday: Convert file names to ISO 8601

The main driver here is that it's both less ambiguous and also nicely
sortable (assuming this ever goes into 2022, which it likely won't, it
would be sorted properly!)

Diffstat:
Mbin/jam-index.sh | 4++--
Mbin/jam-stats.sh | 2+-
Rjam-tuesday/03-09-21 -> jam-tuesday/2021-03-09 | 0
Rjam-tuesday/03-16-21 -> jam-tuesday/2021-03-16 | 0
Rjam-tuesday/03-23-21 -> jam-tuesday/2021-03-23 | 0
Rjam-tuesday/03-30-21 -> jam-tuesday/2021-03-30 | 0
Rjam-tuesday/04-06-21 -> jam-tuesday/2021-04-06 | 0
Rjam-tuesday/04-13-21 -> jam-tuesday/2021-04-13 | 0
Rjam-tuesday/04-20-21 -> jam-tuesday/2021-04-20 | 0
Rjam-tuesday/04-27-21 -> jam-tuesday/2021-04-27 | 0
Rjam-tuesday/05-04-21 -> jam-tuesday/2021-05-04 | 0
Rjam-tuesday/05-18-21 -> jam-tuesday/2021-05-18 | 0
Rjam-tuesday/05-25-21 -> jam-tuesday/2021-05-25 | 0
Rjam-tuesday/06-01-21 -> jam-tuesday/2021-06-01 | 0
Rjam-tuesday/06-08-21 -> jam-tuesday/2021-06-08 | 0
Rjam-tuesday/06-15-21 -> jam-tuesday/2021-06-15 | 0
Rjam-tuesday/06-22-21 -> jam-tuesday/2021-06-22 | 0
17 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/jam-index.sh b/bin/jam-index.sh @@ -5,7 +5,7 @@ DIR="$REPO/jam-tuesday" # Prep for the by artist listing ALL=$(mktemp) -for f in "$DIR"/[01][0-9]-*; do +for f in "$DIR"/[0-9][0-9][0-9][0-9]-*; do sed '1,/---/d' $f | grep -v '^ *$' | sed 's/ *([^)]*) *//g' done | sort -f > "$ALL" @@ -53,7 +53,7 @@ Updated weekly: <ul> EOM -for f in "$DIR"/[01][0-9]-*; do +for f in "$DIR"/[0-9][0-9][0-9][0-9]-*; do name=$(basename "$f") echo "<li><a href=\"$name\">$name</a></li>" done diff --git a/bin/jam-stats.sh b/bin/jam-stats.sh @@ -6,7 +6,7 @@ N=${1:-10} REPO=$(dirname "$(dirname "$0")") DIR="$REPO/jam-tuesday" TMP=$(mktemp) -for set in "$DIR"/[01][0-9]-*; do +for set in "$DIR"/[0-9][0-9][0-9][0-9]-*; do # Remove leading notes, blank lines, and instrument/reprise # comments (and blank lines before or after the comments) sed '1,/---/d' "$set" | grep -v '^ *$' | sed 's/ *([^)]*) *//g' diff --git a/jam-tuesday/03-09-21 b/jam-tuesday/2021-03-09 diff --git a/jam-tuesday/03-16-21 b/jam-tuesday/2021-03-16 diff --git a/jam-tuesday/03-23-21 b/jam-tuesday/2021-03-23 diff --git a/jam-tuesday/03-30-21 b/jam-tuesday/2021-03-30 diff --git a/jam-tuesday/04-06-21 b/jam-tuesday/2021-04-06 diff --git a/jam-tuesday/04-13-21 b/jam-tuesday/2021-04-13 diff --git a/jam-tuesday/04-20-21 b/jam-tuesday/2021-04-20 diff --git a/jam-tuesday/04-27-21 b/jam-tuesday/2021-04-27 diff --git a/jam-tuesday/05-04-21 b/jam-tuesday/2021-05-04 diff --git a/jam-tuesday/05-18-21 b/jam-tuesday/2021-05-18 diff --git a/jam-tuesday/05-25-21 b/jam-tuesday/2021-05-25 diff --git a/jam-tuesday/06-01-21 b/jam-tuesday/2021-06-01 diff --git a/jam-tuesday/06-08-21 b/jam-tuesday/2021-06-08 diff --git a/jam-tuesday/06-15-21 b/jam-tuesday/2021-06-15 diff --git a/jam-tuesday/06-22-21 b/jam-tuesday/2021-06-22