From b2655c3312e9229fcf9935f91d1a345e708888cf Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Mon, 1 Apr 2024 04:43:34 -0700 Subject: more comment --- sh/ggm | 1 + 1 file changed, 1 insertion(+) (limited to 'sh') diff --git a/sh/ggm b/sh/ggm index 7bb66a4..b432142 100755 --- a/sh/ggm +++ b/sh/ggm @@ -8,6 +8,7 @@ # only year: # https://dianne.skoll.ca/pipermail/remind-fans/ +# `man sort` `info sort` ls --zero | sort -zt- -k1,1n -k2,2.3M | xargs -0 grep -i --color=always "$@" # if want reverse sort, put r right after -k1,1n, more see `man sort`, e.g.: #ls --zero | sort -zt- -k1,1nr -k2,2.3Mr | xargs -0 grep -i --color=always "$@" | "$PAGER" -- cgit v1.2.3-70-g09d2