diff options
author | typebrook <typebrook@gmail.com> | 2020-02-12 21:39:57 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-02-12 21:39:57 +0800 |
commit | 41f61fa5a0280c1027daff86a798dac25be0f101 (patch) | |
tree | 428b640aba962a21e39e930424aeb42c60f150b3 /scripts | |
parent | fde69e7baa4bcb4449c80e3a20f5f1995f916e8f (diff) |
update
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/gist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gist b/scripts/gist index 922890a..bc3d99c 100755 --- a/scripts/gist +++ b/scripts/gist | |||
@@ -248,7 +248,7 @@ _show_list() { | |||
248 | return 0 | 248 | return 0 |
249 | fi | 249 | fi |
250 | local filter='/^ *s/ d; /^$/ d' | 250 | local filter='/^ *s/ d; /^$/ d' |
251 | [[ $mark == "s" ]] && filter='/^ *[^ s]/ d; /^$/ d' | 251 | [[ $mark == 's' ]] && filter='/^ *[^ s]/ d; /^$/ d' |
252 | 252 | ||
253 | sed -e "$filter" $INDEX \ | 253 | sed -e "$filter" $INDEX \ |
254 | | while read index link blob_code file_num comment_num author description; do | 254 | | while read index link blob_code file_num comment_num author description; do |