Hi On 12/9/05, Chris J <cej at nightwolf.org.uk> wrote: > awk '/^Date:/ { print $1, $2 }' < inputfile | > sort -t' ' -k2.5,2.6 -k2.3,2.4 -k2.1,2.2 | > uniq Many thanks to Chris and Craig for helping with this - sorted (literally!). It would've taken me a while to (a) find my O'Reilly Scripts book and (b) work this out. Ta Bill Best