From 58686dccc43b01cf867beb3a7cc22fe938210ed8 Mon Sep 17 00:00:00 2001 From: Krzysztof Rudnicki Date: Fri, 18 Mar 2022 13:12:00 +0100 Subject: [PATCH] feat: add help option modify.sh --- EOPSY/task1/modify.sh | 10 ++++++++++ EOPSY/task1/modify_examples.sh | 0 2 files changed, 10 insertions(+) create mode 100755 EOPSY/task1/modify.sh create mode 100644 EOPSY/task1/modify_examples.sh diff --git a/EOPSY/task1/modify.sh b/EOPSY/task1/modify.sh new file mode 100755 index 00000000..0891771b --- /dev/null +++ b/EOPSY/task1/modify.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +while getopts ":h" option; do + echo "This script modifies file names" + echo "-l lowerize file names" + echo "-u uppercase file names" + echo "-r recurse into directory" + echo "[-r] specify sed pattern that will be executed on file names" + echo "-h show this help information" +done diff --git a/EOPSY/task1/modify_examples.sh b/EOPSY/task1/modify_examples.sh new file mode 100644 index 00000000..e69de29b