diff --git a/reporting/qolop b/reporting/qolop index e7b0e2c..d8b006d 100755 --- a/reporting/qolop +++ b/reporting/qolop @@ -1,5 +1,5 @@ #!/bin/bash -_qColVersion() { echo Version 2019.05.07.0; } +_qColVersion() { echo Version 2019.06.21.0; } _qColHelp() { _qColVersion @@ -39,6 +39,11 @@ Run qolop as script to print ANSI code table, or evaluate commands The first command produces string with ANSI commands, the second will escape the escape characters, so you can copy/paste it in to another echo -e command. + + qolop c G + qolop p green + + produce the same output, just the color code ' } @@ -236,6 +241,16 @@ if [[ "$0" = "${BASH_SOURCE[0]}" ]]; then echo '' exit } + [[ "$1" = "c" ]] && { + shift 1 + _qCol "$@" + exit + } + [[ "$1" = "p" ]] && { + shift 1 + _qParse "$@" + exit + } _qColHelp [[ "$1" = *"help" ]] && exit