hello all
nbline=`wc -l ${input} | awk '{print $1}'`
ou
cat $INPUT | awk `
NBLINE_ANO=`cat ${OUTPUT}.tmp | tail -1`
NBLINE_MES=`echo ${NBLINE_LOG}+1 |bc`
echo "Nombre de ligne en entree: "$NBLINE | tee -a $CONTROL
cat ${OUTPUT}.tmp | tail -$NBLINE_MES | head -${NBLINE_LOG} | tee -a $CONTROL
cat ${OUTPUT}.tmp | head -${NBLINE} > ${OUTPUT}
touch $CONTROL
quel est le meilleur moyen en perl:
la transcription
l'encapsulation de ces commandes
l'utilisation de librairies comme TAIL::
d'avance merci![]()
Partager