From 8e3a3cb3d9231f5bcd282cf8429cff00beef65bb Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 20 Sep 2017 21:38:42 +0200 Subject: add -e REGEX as a shortcut to filter basenames --- lr.1 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lr.1') 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 -- cgit 1.4.1