Weisen Sie das Diff -Ergebnis in eine Variable im Shell -Skript zu

some_var="$(diff "./helloworld$x.out" "./output/helloworld$x.out")"
Worried Wildebeest