/usr/share/source-highlight/bat.lang is in libsource-highlight-common 3.1.7-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | # DOS batch files
comment start '[Rr][Ee][Mm]'
comment start "::"
label start '^[[:blank:]]*:'
path = '[[:alpha:]]:([[:alnum:]\\_])*'
keyword = "do|else|end|errorlevel|exist|exit|for|goto|if|not|pause|return",
"say|select|then|when" nonsensitive
function = "ansi|append|assign|attrib|autofail|backup|basedev|boot|break",
"buffers|cache|call|cd|chcp|chdir|chkdsk|choice|cls|cmd|codepage|command|comp",
"copy|country|date|ddinstal|debug|del|detach|device|devicehigh|devinfo|dir",
"diskcoache|diskcomp|diskcopy|doskey|dpath|dumpprocess|eautil|endlocal|erase",
"exit_vdm|extproc|fcbs|fdisk|fdiskpm|files|find|format|fsaccess|fsfilter",
"graftabl|iopl|join|keyb|keys|label|lastdrive|libpath|lh|loadhigh|makeini",
"maxwait|md|mem|memman|mkdir|mode|move|net|patch|path|pauseonerror|picview",
"pmrexx|print|printmonbufsize|priority|priority_disk_io|prompt|protectonly",
"protshell|pstat|rd|recover|reipl|ren|rename|replace|restore|rmdir|rmsize|run",
"set|setboot|setlocal|shell|shift|sort|spool|start|subst|suppresspopups|swappath",
"syslevel|syslog|threads|time|timeslice|trace|tracebuf|tracefmt|trapdump|tree",
"type|undelete|unpack|use|ver|verify|view|vmdisk|vol|xcopy|xcopy32|xdfcopy",
"echo|cur-date" nonsensitive
environment string delim "\"" "\"" escape "\\" begin
specialchar = '%.'
end
variable = '%[[:digit:]]+'
variable = '%%[[:alpha:]]'
include "symbols.lang"
include "number.lang"
|