From 38dbffd816a23d5aab1df74a37da48701f831321 Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 24 Jun 2026 20:39:09 +0100 Subject: Added cpflat and changed lcase and ucase to take optional extension --- ucase.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ucase.sh') diff --git a/ucase.sh b/ucase.sh index 33892a3..cd42212 100755 --- a/ucase.sh +++ b/ucase.sh @@ -3,6 +3,12 @@ IFS=' ' +if [ "$1" ] ; then + flist=$(find . -type f -iname "*.$1") +else + flist=$(find . -type f) +fi + flist=$(find . -type f) for i in $flist ; do -- cgit v1.3