Merge in fixes; add diff filter
[thomas_code.git] / scripts / colorize.d / misc
blobc98f40a1510b966423c00d715e2fcf7b59ff70f4
1 #!/bin/bash
3 # Description for --help
4 DESC="Miscellaneous patterns"
6 # Words to highlight - extended regex ("sed -r" compatible)
7 # Except with the use of '^.+$' for BOLD/UNDERLINE, having overlapping colors
8 # is not supported and the result will be unpredictable.
9 BLACK=()
10 RED=('^.+\.tar\.gz$')
11 GREEN=('^.+\.example\.com')
12 YELLOW=()
13 BLUE=()
14 MAGENTA=()
15 CYAN=()
16 WHITE=()
18 # Bold and Underline are special case, it can be done within and around colors. Be
19 # aware however that the string may have embedded escape codes at this point.
21 # Use '^.+$' here to get bright colors everywhere...
22 BOLD=()
24 UNDERLINE=()