diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-04-01 04:43:34 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-04-01 04:43:34 -0700 |
commit | b2655c3312e9229fcf9935f91d1a345e708888cf (patch) | |
tree | 5088f481f0097956c02acc5b95501cc4d1670f95 /sh | |
parent | abe0f2a59a4dfb64003d759d406ee5a21cf142bd (diff) |
more comment
Diffstat (limited to 'sh')
-rwxr-xr-x | sh/ggm | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |