| •1 |
# ============ this file is to colorize crontabs ========== |
| 2 |
# 1 2 3 4 5 |
| 3 |
#2345678901234567890123456789012345678901234567890123456789 |
| 4 |
# HTML COLOR COL A N T STRING or REGULAR EXPRESSION |
| 5 |
#################### ### # # # ############################ |
| 6 |
#Where: |
| 7 |
# HTML COLOR - Standard HTML Color name for HTML output |
| 8 |
# COL - Console color name from the list |
| 9 |
# red, yel, cya, grn, mag, blk, whi, blu |
| 10 |
# A - Attribute from the list |
| 11 |
# ' ' : normal |
| 12 |
# 'b' : bold |
| 13 |
# 'u' : underline |
| 14 |
# 'r' : reverse video |
| 15 |
# 'k' : blink |
| 16 |
# N - number of matches |
| 17 |
# ' ' : all |
| 18 |
# '0' : all |
| 19 |
# '1' - '9' : number of matches |
| 20 |
# T - type of matching to perform |
| 21 |
# 'c' : characters |
| 22 |
# 's' : string |
| 23 |
# 'r' : regex - case sensitive |
| 24 |
# 'R' : regex - case insensitive |
| 25 |
# 't' : regex with Unix time conversion |
| 26 |
# ' ' : default ('r' regex) |
| 27 |
# 1 2 3 4 5 |
| 28 |
#2345678901234567890123456789012345678901234567890123456789 |
| 29 |
# HTML COLOR COL A N T STRING or REGULAR EXPRESSION |
| 30 |
#################### ### # # # ############################ |
| 31 |
# default is black |
| 32 |
Black blk (.*) |
| 33 |
# dom is blue + bold |
| 34 |
Blue blu b 5 \s+(\S+) |
| 35 |
# month is green + bold |
| 36 |
Green grn b 4 \s+(\S+) |
| 37 |
# dow is green + reverse video |
| 38 |
Green grn r 3 \s+(\S+) |
| 39 |
# hour is red + bold |
| 40 |
Red red b 2 \s+(\S+) |
| 41 |
# minute is red + reverse video |
| 42 |
Red red r 1 \s*(\S+) |
| 43 |
# comments are magenta |
| 44 |
Magenta mag (^#.*) |