commit ec0cbc13d698fd4cf1d6e4a2cbf5e1f6efef4acf parent 531b36f26b1ba687de64483aeed04790491fc978 Auteur: Selve <selve@asteride.xyz> Date: Sun, 29 Oct 2023 17:41:16 -0400 [gen] changement de suffixe .debout devient .dbt Diffstat:
14 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/construire.sh b/construire.sh @@ -8,7 +8,7 @@ DOS_DST="dst" DOS_LIENS="liens" RACINE="asteride.xyz/~selve" -FCH_LIENS_STD="$DOS_LIENS/liens.debout" +FCH_LIENS_STD="$DOS_LIENS/liens.dbt" # $1 protocole # $2 extension @@ -21,9 +21,9 @@ liens_std() { } humans() { - special="humans.special.debout" - inter="${special%.debout}.aplat" - dst="${special%.special.debout}.txt" + special="humans.special.dbt" + inter="${special%.dbt}.aplat" + dst="${special%.special.dbt}.txt" tous="$(find "$DOS_SRC/" -type f -name "*.$1.aplat" \ ! -name 'humans.special.aplat')" echo "$DOS_SRC/$special -> $DOS_DST/$1/$dst" @@ -35,7 +35,7 @@ humans() { # $1 protocole # $2 destination robots.txt() { - special="$DOS_SRC/robots.special.debout" + special="$DOS_SRC/robots.special.dbt" dst="$DOS_DST/$1/robots.txt" echo "$special -> $dst" aplat <"$special" | exclure -vdest="$2" | \ @@ -96,17 +96,17 @@ flux() { # $2 destination flux_cybercarnet() { fichiers="$(find "$DOS_SRC/articles" -type f -name "*.$1.aplat")" - flux "$DOS_SRC/flux/cybercarnet.special.debout" "$1" "$2" \ + flux "$DOS_SRC/flux/cybercarnet.special.dbt" "$1" "$2" \ "$DOS_DST/$2/flux/cybercarnet_$1.atom" $fichiers } # $1 protocole # $2 destination gen_aplat() { - for f in $(find "$DOS_SRC" -type f -name '*.debout' \ - ! -name '*.special.debout') + for f in $(find "$DOS_SRC" -type f -name '*.dbt' \ + ! -name '*.special.dbt') do - res="${f%.debout}.$1.aplat" + res="${f%.dbt}.$1.aplat" echo "$f -> $res" aplat <"$f" | exclure -vdest="$2" | \ awk -v fichier="$DOS_LIENS/$1" \ @@ -185,7 +185,7 @@ compresser() { nettoyer() { rm -f "$DOS_LIENS/gemini" "$DOS_LIENS/http" "$DOS_LIENS/https" - find "$DOS_SRC" -type f ! \( -name '*.debout' -o -name '*.cp' \) | \ + find "$DOS_SRC" -type f ! \( -name '*.dbt' -o -name '*.cp' \) | \ xargs rm -f rm -rf "$DOS_DST" } diff --git a/src/a_visiter.debout b/src/a_visiter.dbt diff --git a/src/articles/avant-propos.debout b/src/articles/avant-propos.dbt diff --git a/src/articles/chute_voyelles_aymara.debout b/src/articles/chute_voyelles_aymara.dbt diff --git a/src/articles/curiosites_catalan.debout b/src/articles/curiosites_catalan.dbt diff --git a/src/articles/finger_openbsd.debout b/src/articles/finger_openbsd.dbt diff --git a/src/articles/index.debout b/src/articles/index.dbt diff --git a/src/articles/jex_construction_ideolangue_pile.debout b/src/articles/jex_construction_ideolangue_pile.dbt diff --git a/src/florilege/index.debout b/src/florilege/index.dbt diff --git a/src/flux/cybercarnet.special.debout b/src/flux/cybercarnet.special.dbt diff --git a/src/flux/index.debout b/src/flux/index.dbt diff --git a/src/humans.special.debout b/src/humans.special.dbt diff --git a/src/index.debout b/src/index.dbt diff --git a/src/robots.special.debout b/src/robots.special.dbt