From 7b13d984d8331159c238354317f1d0b8ecdfbee8 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Wed, 19 Sep 2018 15:31:07 -0600 Subject: [PATCH] Added preset formatting as variables --- backup.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/backup.sh b/backup.sh index ea135bd..f3a932d 100755 --- a/backup.sh +++ b/backup.sh @@ -1,5 +1,18 @@ #!/bin/bash + +### Text formatting presets +normal="\e[0m" +bold="\e[1m" +default="\e[39m" +red="\e[31m" +green="\e[32m" +yellow="\e[33m" +magenta="\e[35m" +cyan="\e[36m" +stamp="[`date +%Y-%m-%d` `date +%H:%M:%S`]" + + ### Functions ### ### scriptHelp -- display usage information for this script