Attribuer un résultat diff dans une variable dans le script shell
some_var="$(diff "./helloworld$x.out" "./output/helloworld$x.out")"
Worried Wildebeest
some_var="$(diff "./helloworld$x.out" "./output/helloworld$x.out")"