Hi folks,
This is my 1st post here:
The diff below works to case de-sensitise mth/day in crontab files.
crontab(5) man page saith:
...
Names can be used in the month and day-of-week fields. Use the first
three letters of the particular day or month (case doesn't matter).
... ^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^
--- crontab.vim Fri May 18 12:05:25 2012
+++ /usr/local/share/vim/vim74/syntax/crontab.vim Sat Jan 17 17:22:48 2015
@@ -5,7 +5,7 @@
" License: This file can be redistribued and/or modified under the same terms
" as Vim itself.
" Filenames: /tmp/crontab.* used by "crontab -e"
-" Last Change: 2012-05-16
+" Last Change: 2015-01-17
"
" crontab line format:
" Minutes Hours Days Months Days_of_Week Commands # comments
@@ -22,11 +22,11 @@ syntax match crontabMin "^\s*[-0-9/,.*]\+" nextgroup=c
syntax match crontabHr "\s[-0-9/,.*]\+" nextgroup=crontabDay skipwhite contained
syntax match crontabDay "\s[-0-9/,.*]\+" nextgroup=crontabMnth skipwhite contained
-syntax match crontabMnth "\s[-a-z0-9/,.*]\+" nextgroup=crontabDow skipwhite contained
-syntax keyword crontabMnth12 contained jan feb mar apr may jun jul aug sep oct nov dec
+syntax match crontabMnth "\s[-A-z0-9/,.*]\+" nextgroup=crontabDow skipwhite contained
+syntax keyword crontabMnth12 contained Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
-syntax match crontabDow "\s[-a-z0-9/,.*]\+" nextgroup=crontabCmd skipwhite contained
-syntax keyword crontabDow7 contained sun mon tue wed thu fri sat
+syntax match crontabDow "\s[-A-z0-9/,.*]\+" nextgroup=crontabCmd skipwhite contained
+syntax keyword crontabDow7 contained Mon Tue Wed Thu Fri Sat Sun
syntax region crontabCmd start="\S" end="$" skipwhite contained keepend contains=crontabPercent
syntax match crontabCmnt "^\s*#.*" contains=@Spell
Cheers.
--
The press conference "THEY" didn't want broadcast:
http://www.youtube.com/watch?v=Bzim6hQUoC8&index=18&list=PLHLREeMe4S0OmV_BYAfWNWi0qQzu2FWzK