Avoid a indent nesting (similarly to c.dcgi) - 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 de62ecfb49bf510c89af165d77cdaeec04803c3c
 (DIR) parent 366d0e7d0826adda68c3bb12dc4b216cb72d9e00
 (HTM) Author: Leonardo Taccari <iamleot@gmail.com>
       Date:   Wed,  8 Aug 2018 03:53:26 
       
       Avoid a indent nesting (similarly to c.dcgi)
       
       Diffstat:
        reddit/r.dcgi |  17 ++++++++---------
        1 files changed, 8 insertions(+), 9 deletions(-)
       ---
       diff -r 366d0e7d0826 -r de62ecfb49bf reddit/r.dcgi
       --- a/reddit/r.dcgi     Wed Aug 08 03:50:53 2018 +0200
       +++ b/reddit/r.dcgi     Wed Aug 08 03:53:26 2018 +0200
       @@ -12,13 +12,12 @@
        
        /usr/pkg/bin/curl -A "${ua}" -s "${url}" |
        /usr/pkg/bin/jq -r '
       -.data.children[] |
       -       .data |
       -               "[h|\(.title | gsub("\\|"; "\\|") )|" +
       -                   "URL:\(.url | gsub("\\|"; "\\|"))|server|port]",
       -               "t" + .author + "   " + ( .created_utc | strftime("%F %H:%M") ),
       -               "tScore:    \(.score)",
       -               "[1|Comments: \(.num_comments)|" +
       -                   "'"${COMMENTS_CGI}?${subreddit}/"'" + "\(.id)|server|port]",
       -               "t"
       +.data.children[] | .data |
       +       "[h|\(.title | gsub("\\|"; "\\|") )|" +
       +           "URL:\(.url | gsub("\\|"; "\\|"))|server|port]",
       +       "t" + .author + "   " + ( .created_utc | strftime("%F %H:%M") ),
       +       "tScore:    \(.score)",
       +       "[1|Comments: \(.num_comments)|" +
       +           "'"${COMMENTS_CGI}?${subreddit}/"'" + "\(.id)|server|port]",
       +       "t"
        '