[Bug 517019] Re: vim crontab syntax highlighting should treat day/month names case insensitively

Artur Rona ari-tczew at ubuntu.com
Thu Nov 4 18:39:27 GMT 2010


If you want get uploaded your patch, please prepare debdiff or bzr branch following with:
- https://wiki.ubuntu.com/UbuntuDevelopment#Working%20with%20Ubuntu%20Packages
- https://wiki.ubuntu.com/PackagingGuide/Howtos/Debdiff

At this moment here is nothing to sponsor. I'm unsubscribing ubuntu-
sponsor. Please resubscribe when patch is ready.

-- 
vim crontab syntax highlighting should treat day/month names case insensitively
https://bugs.launchpad.net/bugs/517019
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.

Status in “vim” package in Ubuntu: Fix Committed
Status in “vim” package in Debian: Fix Released

Bug description:
Binary package hint: vim

vim's syntax highlighting for crontabs breaks if a day or month name is specified with a capital letter, e.g:

* *  *  *  Mon-Fri  mycommand

However, cron seems to treat these values as case-insensitive. The attached patch fixes this by adding "syntax case ignore" before the syntax.

Conversely, the @foo special time specifiers (e.g. "@reboot", "@hourly") ARE case-sensitive. The patch also defines the syntax so that the incorrect case is displayed as an error, with the correct case displayed as before.





More information about the Ubuntu-sponsors mailing list