#!/bin/bash #PROJ="*" #ITER="*" RUN="*" PROJ=$1 ITER=$2 #RUN=$3 cat "rawdata20090514/"$PROJ$ITER"reuse-run"$RUN".txt" | gawk '/=/{hist[$0]++} END{for(i in hist){print i ":", hist[i]}}' | sort -n -k4 -r