sorting - grep|sort and display only the first line -
i trying grep pattern , sort column , display first line using following command:
grep "best score" result.txt | sort -nk 4 | "display first line"
i don't want save grep
neither thesort
result file.
grep "best score" result.txt|sort -nk 4|head -1
Comments
Post a Comment