Add initial support for printing comments - gophercgis - Collection of gopher CGI/DCGI for geomyidae
 (HTM) hg clone https://bitbucket.org/iamleot/gophercgis
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) changeset a6131dcc2ef0ab6a4ad3f9669a33d27b8a314593
 (DIR) parent 4e44e9ad56b30c075bc1e2107e3947ac468cd4f0
 (HTM) Author: Leonardo Taccari <iamleot@gmail.com>
       Date:   Wed,  8 Aug 2018 14:44:09 
       
       Add initial support for printing comments
       
       XXX: Not sure if this will work if there are a LOT of comments, probably
       XXX:`.after' will be non-""...
       
       Diffstat:
        reddit/c.dcgi |  6 +++++-
        1 files changed, 5 insertions(+), 1 deletions(-)
       ---
       diff -r 4e44e9ad56b3 -r a6131dcc2ef0 reddit/c.dcgi
       --- a/reddit/c.dcgi     Wed Aug 08 12:52:14 2018 +0200
       +++ b/reddit/c.dcgi     Wed Aug 08 14:44:09 2018 +0200
       @@ -21,5 +21,9 @@
               "tScore:    \(.score)",
               "tComments: \(.num_comments)",
               "t" ),
       -( .[1] | .data.children[] | .data | "tTODO: parse comments" )
       +( .[1] | .. | select(.kind? == "t1") | .data |
       +       "t\(.author)   \(.score)   \( .created_utc | strftime("%F %H:%M") )",
       +       "t\(.body | split("\n") | join("\nt") )",
       +       "t",
       +       "t" )
        '