#!/bin/csh
# Tells which commands have been executed and their frequency...
# *MUST* be "source"d !

foreach a ( `history | awk '{print $3}'| sort | uniq` ) 

  echo -n $a"		" 
  history | grep -c $a

end
