Différences entre les versions de « Auto-éditer un wikilivre/Annexer (Version internationalisée)/src/add sclt.sh »

m
→‎en_sclt.inc : Mise à jour version 210614
m (→‎LivreTest : Mise en page)
m (→‎en_sclt.inc : Mise à jour version 210614)
<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
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