diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-09-20 21:38:42 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-09-20 21:38:42 +0200 |
commit | 8e3a3cb3d9231f5bcd282cf8429cff00beef65bb (patch) | |
tree | f8e88fd9cd5c24fde8e3933b7e946cd0b419acae /lr.1 | |
parent | 9c797d4df1125f5ec341b4ee17ee10daae559fd2 (diff) | |
download | lr-8e3a3cb3d9231f5bcd282cf8429cff00beef65bb.tar.gz lr-8e3a3cb3d9231f5bcd282cf8429cff00beef65bb.tar.xz lr-8e3a3cb3d9231f5bcd282cf8429cff00beef65bb.zip |
add -e REGEX as a shortcut to filter basenames
Diffstat (limited to 'lr.1')
-rw-r--r-- | lr.1 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lr.1 b/lr.1 index 75239bb..2dd0dc6 100644 --- a/lr.1 +++ b/lr.1 @@ -13,6 +13,7 @@ .Op Fl 1AGQXdhsx .Op Fl U | Fl o Ar ord .br +.Op Fl e Ar regex .Op Fl t Ar test .Op Fl C Oo Ar color Ns Li \&: Oc Ns Ar path .Ar path\ ... @@ -122,6 +123,9 @@ Sort according to .Ar ord , see .Sx SORT ORDER . +.It Fl e Ar regex +Only show files where basename matches the POSIX ERE +.Ar regex . .It Fl t Ar test Only show files matching the expression .Ar test , @@ -129,6 +133,8 @@ see .Sx TESTS . Multiple occurrences of .Fl t +and +.Fl e are regarded as a conjunction. .It Fl C Oo Ar color Ns Li \&: Oc Ns Ar path Behaves as if |