Avoid extra empty lines - 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 56f89223aa69a5f46487cf7c9d215dcfa615e6ae (DIR) parent 6f1b97bda510d244207cff71fccf381b42709a6f (HTM) Author: Leonardo Taccari <iamleot@gmail.com> Date: Thu, 6 Sep 2018 10:15:50 Avoid extra empty lines Diffstat: acmqueue/feed.dcgi | 2 -- ansa/feed.dcgi | 2 -- bandcamp/album.dcgi | 3 --- espresso/feed.dcgi | 2 -- github/repo.dcgi | 3 +-- instagram/user.dcgi | 4 ++-- internazionale/sections.dcgi | 2 -- lobsters/lobsters.dcgi | 1 - lwn/feed.dcgi | 2 -- netbsd/req.dcgi | 2 -- reddit/r.dcgi | 3 +-- technologyreview/feed.dcgi | 2 -- theatlantic/feed.dcgi | 2 -- theguardian/feed.dcgi | 2 -- 14 files changed, 4 insertions(+), 28 deletions(-) --- diff -r 6f1b97bda510 -r 56f89223aa69 acmqueue/feed.dcgi --- a/acmqueue/feed.dcgi Thu Sep 06 10:05:59 2018 +0200 +++ b/acmqueue/feed.dcgi Thu Sep 06 10:15:50 2018 +0200 @@ -39,5 +39,3 @@ title = link = "" } ' - -echo "" diff -r 6f1b97bda510 -r 56f89223aa69 ansa/feed.dcgi --- a/ansa/feed.dcgi Thu Sep 06 10:05:59 2018 +0200 +++ b/ansa/feed.dcgi Thu Sep 06 10:15:50 2018 +0200 @@ -41,5 +41,3 @@ title = link = "" } ' - -echo "" diff -r 6f1b97bda510 -r 56f89223aa69 bandcamp/album.dcgi --- a/bandcamp/album.dcgi Thu Sep 06 10:05:59 2018 +0200 +++ b/bandcamp/album.dcgi Thu Sep 06 10:15:50 2018 +0200 @@ -22,7 +22,6 @@ echo "tBandcamp" echo "t" -echo "t" echo "[h|URL|${url}|server|port]" echo "t" @@ -33,5 +32,3 @@ "[h|" + (.track_num | tostring) + " - " + (.title | gsub("\\|"; "\\|")) + "|" + "URL:\(.file."mp3-128" | gsub("\\|"; "\\|"))" + "|server|port]" ' - -echo "t" diff -r 6f1b97bda510 -r 56f89223aa69 espresso/feed.dcgi --- a/espresso/feed.dcgi Thu Sep 06 10:05:59 2018 +0200 +++ b/espresso/feed.dcgi Thu Sep 06 10:15:50 2018 +0200 @@ -41,5 +41,3 @@ title = link = "" } ' - -echo "" diff -r 6f1b97bda510 -r 56f89223aa69 github/repo.dcgi --- a/github/repo.dcgi Thu Sep 06 10:05:59 2018 +0200 +++ b/github/repo.dcgi Thu Sep 06 10:15:50 2018 +0200 @@ -37,6 +37,5 @@ "t", "[h|Clone (HTTP)|URL:\(.clone_url)|server|port]", "[h|Clone (Git)|URL:\(.git_url)|server|port]", - "[h|Clone (SSH)|URL:\(.ssh_url)|server|port]", - "t" + "[h|Clone (SSH)|URL:\(.ssh_url)|server|port]" ' diff -r 6f1b97bda510 -r 56f89223aa69 instagram/user.dcgi --- a/instagram/user.dcgi Thu Sep 06 10:05:59 2018 +0200 +++ b/instagram/user.dcgi Thu Sep 06 10:15:50 2018 +0200 @@ -52,7 +52,7 @@ .entry_data.ProfilePage[].graphql.user.id + "/" + .rhx_gis + "/" + .entry_data.ProfilePage[].graphql.user.edge_owner_to_timeline_media.page_info.end_cursor + - "|server|port]", "t" + "|server|port]" else empty end @@ -63,7 +63,7 @@ if .data.user.edge_owner_to_timeline_media.page_info.has_next_page then "[1|>> Next page|'"${CGI}?${user}/${id}/${rhx_gis}/"'" + .data.user.edge_owner_to_timeline_media.page_info.end_cursor + - "|server|port]", "t" + "|server|port]" else empty end diff -r 6f1b97bda510 -r 56f89223aa69 internazionale/sections.dcgi --- a/internazionale/sections.dcgi Thu Sep 06 10:05:59 2018 +0200 +++ b/internazionale/sections.dcgi Thu Sep 06 10:15:50 2018 +0200 @@ -37,5 +37,3 @@ "t", "[1|<< Older articles|'"${CGI}?${section}/"'\(.datetime | gsub(" "; "_"))|server|port]" ' - -echo "" diff -r 6f1b97bda510 -r 56f89223aa69 lobsters/lobsters.dcgi --- a/lobsters/lobsters.dcgi Thu Sep 06 10:05:59 2018 +0200 +++ b/lobsters/lobsters.dcgi Thu Sep 06 10:15:50 2018 +0200 @@ -44,5 +44,4 @@ next_page_n=$((page_n + 1)) next_page="page/${next_page_n}" echo "[1|>> Page ${next_page_n}|${CGI}?${next_page}|server|port]" - echo "t" fi diff -r 6f1b97bda510 -r 56f89223aa69 lwn/feed.dcgi --- a/lwn/feed.dcgi Thu Sep 06 10:05:59 2018 +0200 +++ b/lwn/feed.dcgi Thu Sep 06 10:15:50 2018 +0200 @@ -43,5 +43,3 @@ title = link = "" } ' - -echo "" diff -r 6f1b97bda510 -r 56f89223aa69 netbsd/req.dcgi --- a/netbsd/req.dcgi Thu Sep 06 10:05:59 2018 +0200 +++ b/netbsd/req.dcgi Thu Sep 06 10:15:50 2018 +0200 @@ -63,5 +63,3 @@ url="http://releng.netbsd.org/cgi-bin/req-${branch}.cgi" /usr/bin/ftp -V -o - "${url}" | filter_table - -echo "" diff -r 6f1b97bda510 -r 56f89223aa69 reddit/r.dcgi --- a/reddit/r.dcgi Thu Sep 06 10:05:59 2018 +0200 +++ b/reddit/r.dcgi Thu Sep 06 10:15:50 2018 +0200 @@ -36,7 +36,6 @@ "'"${CGI}?${subreddit}/"'" + "\(.data.after)|server|port]" else empty - end, - "t" + end ) ' diff -r 6f1b97bda510 -r 56f89223aa69 technologyreview/feed.dcgi --- a/technologyreview/feed.dcgi Thu Sep 06 10:05:59 2018 +0200 +++ b/technologyreview/feed.dcgi Thu Sep 06 10:15:50 2018 +0200 @@ -37,5 +37,3 @@ title = link = "" } ' - -echo "" diff -r 6f1b97bda510 -r 56f89223aa69 theatlantic/feed.dcgi --- a/theatlantic/feed.dcgi Thu Sep 06 10:05:59 2018 +0200 +++ b/theatlantic/feed.dcgi Thu Sep 06 10:15:50 2018 +0200 @@ -53,5 +53,3 @@ title = link = "" } ' - -echo "" diff -r 6f1b97bda510 -r 56f89223aa69 theguardian/feed.dcgi --- a/theguardian/feed.dcgi Thu Sep 06 10:05:59 2018 +0200 +++ b/theguardian/feed.dcgi Thu Sep 06 10:15:50 2018 +0200 @@ -43,5 +43,3 @@ title = link = "" } ' - -echo ""