diff options
author | typebrook <typebrook@gmail.com> | 2019-12-23 09:58:32 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-12-23 09:58:32 +0800 |
commit | b6507385b71cc3ab40d238de1b246c777c44d9c7 (patch) | |
tree | d88ee7635ea2b47df7a7afbcf8cb1e7430a44a18 /scripts/gist | |
parent | 23bc7187cc555bfeb361a66d679a1f4171fa7033 (diff) |
update
Diffstat (limited to 'scripts/gist')
-rwxr-xr-x | scripts/gist/gist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gist/gist b/scripts/gist/gist index dbc76b3..d3aa518 100755 --- a/scripts/gist/gist +++ b/scripts/gist/gist | |||
@@ -7,4 +7,4 @@ jq '.[] | "\( .html_url ) \(.files | keys | length) \( .description )"' |\ | |||
7 | tr -d '"' | tac | nl |\ | 7 | tr -d '"' | tac | nl |\ |
8 | while read line_num link file_num description; do | 8 | while read line_num link file_num description; do |
9 | echo $line_num $link $file_num $(echo $description | cut -c -70) | 9 | echo $line_num $link $file_num $(echo $description | cut -c -70) |
10 | done | 10 | done | tee ~/.gist |