Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- kristian@luke:~/.../irclogs/Undernet$ head -qn1 \#hotellet.log*
- --- Log opened Wed Oct 25 15:45:41 2006
- --- Log opened Mon Sep 22 12:51:02 2008
- --- Log opened Sat Aug 30 11:52:50 2008
- --- Log opened Thu Sep 11 16:49:28 2008
- --- Log opened Fri Sep 26 20:59:03 2008
- --- Log opened Fri Sep 10 12:51:30 2010
- --- Log opened Mon Dec 06 09:57:40 2010
- kristian@luke:~/.../irclogs/Undernet$ awk '{ gsub("@",""); gsub("KristianL","Kristian"); } $2 == "<" { $2="<"$3; $3=""; } $2 ~ "<.[a-zA-Z0-9|]*>" { foo[$2]++} END { for (a in foo) printf("%-20s wrote %5d lines\n",a,foo[a])}' \#hotellet.log*
- <idril> wrote 134 lines
- <Catya> wrote 35 lines
- <mrpip> wrote 1 lines
- <Botski> wrote 7 lines
- <Dadajobb> wrote 141 lines
- <epiphron> wrote 14 lines
- <Wiseman> wrote 1144 lines
- <Nesq> wrote 2 lines
- <Dadaph|Lizzy> wrote 5 lines
- <Catya|Dadaph> wrote 4 lines
- <NintendoLizz> wrote 2 lines
- <Dadaph> wrote 3243 lines
- <Morten> wrote 21 lines
- <ithilme> wrote 1 lines
- <potetpro> wrote 5 lines
- <Ithilme> wrote 285 lines
- <Kristian> wrote 4341 lines
Add Comment
Please, Sign In to add comment