Changes between Version 6 and Version 7 of Bookmarks Project


Ignore:
Timestamp:
09/11/15 17:01:24 (9 years ago)
Author:
peter
Comment:

added Reports section with stats code snippet

Legend:

Unmodified
Added
Removed
Modified
  • Bookmarks Project

    v6 v7  
    9595    * [perldoc:JSON] 
    9696    * [perldoc:Template] 
     97 
     98== Reports == 
     99 
     100Bash code snippet that will display a count of bookmark resources by URI host: 
     101{{{#!bash 
     102sqlite3 bookmarks.db 'select uri from resources' \ 
     103    | perl -mURI -mYAML -ne'$uri = URI->new($_); $h = $uri->authority; $servers{$h}++; BEGIN { my %servers }; END { print YAML::Dump(\%servers) }' 
     104}}}