Kb 15 másodpercbe tellett kitalálni :) awk '{ print length($0)"\t"$0 }' < /var/log/dmesg | sort -n | cut -f2-