Skip to content

SortImagesBasedOnDocfile

Adrian Quintana edited this page Dec 11, 2017 · 1 revision

cat projmatch.doc | awk '{if ($2==8) {print $9,name}; name=$2  }' | sort -r | awk '{print $2,$1}'>sorted_on_cc.sel


Where the $9 after the print statement will result in a sorting based on the 9th column in the docfile.

-- Main.SjorsScheres - 07 Jun 2007

Clone this wiki locally