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