aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xgist1
1 files changed, 1 insertions, 0 deletions
diff --git a/gist b/gist
index 6524bf0..6b40d5b 100755
--- a/gist
+++ b/gist
@@ -279,6 +279,7 @@ _show_list() {
279} 279}
280 280
281# TODO support filenames, file contents 281# TODO support filenames, file contents
282# TODO add option to configure case-sensitive
282_grep_content() { 283_grep_content() {
283 if [[ -z $1 ]]; then echo 'Please give a pattern' && return 1; fi 284 if [[ -z $1 ]]; then echo 'Please give a pattern' && return 1; fi
284 while read -r index url _ _ _ _ _ _ description; do 285 while read -r index url _ _ _ _ _ _ description; do