diff options
| author | typebrook <typebrook@gmail.com> | 2019-12-26 18:52:29 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-12-26 18:52:29 +0800 |
| commit | d8f364ab2380aa080f26ea9bdea6e4dcab243e45 (patch) | |
| tree | 1bffd2e84274d24205916b41fe13e9f2db82e16c | |
| parent | 54c07b3e6f90802f1eb80711b83d365076cc5e16 (diff) | |
update
| -rwxr-xr-x | gist | 1 |
1 files changed, 0 insertions, 1 deletions
| @@ -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 |