From e280bad4d2e5e34ed7fec6068a6899fec5c31f9c Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Thu, 28 Apr 2022 01:43:20 +0000 Subject: [PATCH] formatting last change i swear. Ive just been trying to get things nicely formatted and working. --- heavy_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heavy_script.sh b/heavy_script.sh index 01aaef1e..7988b08e 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -29,7 +29,7 @@ do exit;; b) number_of_backups=$OPTARG - echo "Number of backups was set to $number_of_backups" + echo -e "\nNumber of backups was set to $number_of_backups" re='^[0-9]+$' ! [[ $number_of_backups =~ $re ]] && echo -e "Error: -b needs to be assigned an interger\n$number_of_backups is not an interger" >&2 && exit