From 547f182c776f847c91eff6f5b90e84a1b80bac82 Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 10 Oct 2022 18:44:32 +0200 Subject: [PATCH] =?UTF-8?q?Emmettre=20un=20"voeu"=20qui=20se=20construit?= =?UTF-8?q?=20des=20m=C3=AAme=20environnant=20ex=20:=20G1Films?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ASTROBOT/VOEUX.create.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ASTROBOT/VOEUX.create.sh b/ASTROBOT/VOEUX.create.sh index 9d5b56fea..c47d00541 100755 --- a/ASTROBOT/VOEUX.create.sh +++ b/ASTROBOT/VOEUX.create.sh @@ -29,7 +29,9 @@ tiddlywiki --verbose --load ${INDEX} --output ~/.zen/tmp --render '.' 'voeu.json for VOEU in $(cat ~/.zen/tmp/voeu.json | jq -r '.[].title') do echo "Detected $VOEU" - echo "Creating Voeu TW" + VOEU=$(echo "$VOEU" | sed -r 's/\<./\U&/g' | sed 's/ //g') # CapitalGluedWords + + echo "Creating G1$VOEU TW" ~/.zen/Astroport.ONE/G1VOEUX.sh "$VOEU" "$PLAYER" "$INDEX"