grep -A 26 "some text" somefile.txt |
awk '/other text/ { gsub(/M/, " "); print $4 }' |
sort -n -r | uniq | head -1
restituirà il più grande in un elenco estratto da un file di testo di grandi dimensioni, ma come posso archiviare l'output come variabile?output di archivio bash come variabile