URI: 
       toneliners.wiki - wiki - knowledgebase of randomness
  HTML git clone git://parazyd.org/wiki.git
   DIR Log
   DIR Files
   DIR Refs
       ---
       toneliners.wiki (241B)
       ---
            1 = random oneliners =
            2 
            3 == parse access.log for countries ==
            4 
            5         {{{
            6         awk '{print $1}' access.log \
            7                 | uniq \
            8                 | while read line; do \
            9                         geoiplookup $line \
           10                 done \
           11                 | grep Country \
           12                 | sort \
           13                 | awk -F: '{print $2}' \
           14                 | cut -b 2-
           15         }}}