#!/bin/bash NTESTS=10 TAILLES="1000 10000 100000" echo -e "taille\titest\texectime\trealtime\summary" for taille in $TAILLES do for itest in 'seq 1 $NTESTS' do RES="$taille\t$test\t" RES="$RES"( /usr/bin/time -f "%U\t%e\t%M" ./recherche $taille >/dev/null ) 2>&1 echo -e $RES done done