Awk can do what you want: { lines[NR]=$NF " " $0 } END { PROCINFO["sorted_in"]="@val_type_asc" for line in lines { j=index(line, " ") print substr(line, j+1) } -- Michael hennebry@xxxxxxxxxxxxxxxxxxxxx "Sorry but your password must contain an uppercase letter, a number, a haiku, a gang sign, a heiroglyph, and the blood of a virgin." -- someeecards -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org