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 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4833d42..106ac68 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Over ls: ## Usage: - lr [-0|-F|-l [-TA|-TC|-TM]|-S|-f FMT] [-D] [-H|-L] [-1AGQXdhsx] [-U|-o ORD] [-t TEST]* PATH... + lr [-0|-F|-l [-TA|-TC|-TM]|-S|-f FMT] [-D] [-H|-L] [-1AGQXdhsx] [-U|-o ORD] [-e REGEX]* [-t TEST]* PATH... The special path argument `-` makes `lr` read file names from standard input, instead of traversing path. @@ -75,6 +75,7 @@ input, instead of traversing path. * `-x`: don't enter other filesystems. * `-U`: don't sort results. * `-o ORD`: sort according to the string `ORD`, see below. +* `-e REGEX`: only show files where basename matches `REGEX`. * `-t TEST`: only show files matching all `TEST`s, see below. ## Output formatting: -- cgit 1.4.1