aboutsummaryrefslogtreecommitdiffstats
path: root/extra-tools
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-01-01 00:46:18 +0000
committerbloodstalker <thabogre@gmail.com>2017-01-01 00:46:18 +0000
commitb7cdec5f7c8eaa19bf024d5acfc524c1e9e59ced (patch)
treefcb5bd839cda07e7eb78a628c7ca74d1b7160424 /extra-tools
parentcolorful human redable print for the simple-text output of mutator-lvl0 (diff)
downloadmutator-b7cdec5f7c8eaa19bf024d5acfc524c1e9e59ced.tar.gz
mutator-b7cdec5f7c8eaa19bf024d5acfc524c1e9e59ced.zip
prettier prints
Diffstat (limited to 'extra-tools')
-rwxr-xr-xextra-tools/ReportPrintPretty.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/extra-tools/ReportPrintPretty.sh b/extra-tools/ReportPrintPretty.sh
index 4ec08ab..46afdd0 100755
--- a/extra-tools/ReportPrintPretty.sh
+++ b/extra-tools/ReportPrintPretty.sh
@@ -5,7 +5,13 @@
BEGIN{RS = "\n";FS = ":"}
function red(s) {printf "\033[1;31m" s "\033[0m "}
function green(s) {printf "\033[1;32m" s "\033[0m "}
+function yellow(s) {printf "\033[1;33m" s "\033[0m "}
function blue(s) {printf "\033[1;34m" s "\033[0m "}
- {print red($1)green($2)green($3)blue($4)blue($5)}
+function purple(s) {printf "\033[1;35m" s "\033[0m "}
+function cyan(s) {printf "\033[1;36m" s "\033[0m "}
+function unred(s) {printf "\033[1;41m" s "\033[0m "}
+function ungreen(s) {printf "\033[1;42m" s "\033[0m "}
+function unyellow(s) {printf "\033[1;43m" s "\033[0m "}
+ {print red($1)green($2)purple($3)blue($4)blue($5)}
END{}
' > "$2" \ No newline at end of file