diff options
author | typebrook <typebrook@gmail.com> | 2019-12-27 10:40:03 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-12-27 10:40:03 +0800 |
commit | cde4a6525ad76e34f193d7540777ee3783c51edc (patch) | |
tree | 412ee2aec790bf00eb17f1828321e3aff63e7682 | |
parent | 999e7de7977b7eb5f7e37500eb1ea67992065aec (diff) |
update
-rwxr-xr-x | scripts/gist | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/gist b/scripts/gist index 40c062f..9dfa31d 100755 --- a/scripts/gist +++ b/scripts/gist | |||
@@ -52,7 +52,6 @@ index=$folder/index | |||
52 | # get the list of gists | 52 | # get the list of gists |
53 | _update() { | 53 | _update() { |
54 | curl -s -H "$auth_header" $github_api/users/$user/gists |\ | 54 | curl -s -H "$auth_header" $github_api/users/$user/gists |\ |
55 | tee keep |\ | ||
56 | jq '.[] | "\( .html_url ) \(.files | keys | length) \(.comments) \( .description )"' |\ | 55 | jq '.[] | "\( .html_url ) \(.files | keys | length) \(.comments) \( .description )"' |\ |
57 | tr -d '"' | tac | nl |\ | 56 | tr -d '"' | tac | nl |\ |
58 | while read line_num link file_num comment_num description; do | 57 | while read line_num link file_num comment_num description; do |