Étape 16 : Quelques données d’extraction.
Plus d’une façon à la peau d’un chat.
# juste une pensée
FI = « % »
ligne = "[173] Virginie 3-5 5-7 310 289 5-2, 0-5 perdues" 1 "
a ='echo $line | Cut - c8-28'
b ='echo $line | Cut - c29-31'
c ='echo $line | Cut - c33-35'
d ='echo $line | Cut - c38-40'
e ='echo $line | Cut - c42-44'
f ='echo $line | Cut - c46-48'
g ='echo $line | Cut - c51-53'
h ='echo $line | Cut - c56-61'
echo "" > somefile.html
echo "" >> somefile.html
echo "" >> somefile.html
echo "" >> somefile.html
echo "\" >> somefile.html
echo"
École | W-L | W-L | PF | PA | Accueil | Suite | Strie actuel |
$a | $b | $c | $d | $e | $f | $g | $h |
">> somefile.html
echo"
">> somefile.html
echo"
">> somefile.html
#————————————–
chmod + x testithtml.sh
. / testithtml.sh
links2-dump somefile.html
Firefox
Somefile.html
École | W-L | W-L | PF | PA | Accueil | Suite | Strie actuel |
Virginie | 3-5 | 5-7 | 310 | 289 | 5-2 | 0-5 | Perdu 1 |