« Auto-éditer un wikilivre/Annexer (Version internationalisée)/src/add sclt.sh » : différence entre les versions

Contenu supprimé Contenu ajouté
m →‎LivreTest : Mise en page
m →‎en_sclt.inc : Mise à jour version 210614
Ligne 239 :
<syntaxhighlight lang="bash">
#! /bin/bash
#H File : en_sclt.inc toinclude in add at add_sclt.sh
#H Version 21-06-10210614
cd $Projectdir
#T echo "Projectdir : $Projectdir" exit 0
Ligne 367 :
if wget --spider https://xtools.wmflabs.org/articleinfo/en.wikibooks.org/$line 2>/dev/null
then
echo ". see : https://xtools.wmflabs.org/articleinfo/en.wikibooks.org/$line" >> $Projectdir/$line/$line.author
elif wget --spider https://xtools.wmflabs.org/articleinfo/en.wikibooks.org/$Bookname/$line 2>/dev/null
then
echo ". see : https://xtools.wmflabs.org/articleinfo/en.wikibooks.org/$Bookname/$line" >> $Projectdir/$line/$line.author
else echo ". see ''contributors'' in book ''$Bookname'' history page of ''$line''" >> $Projectdir/$line/$line.author
fi
fi