/usr/share/highlight/langDefs/tcsh.lang is in highlight-common 3.9-1+deb7u1.
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 | -- FIXME omitted definition of $KEYWORDS(KWA)
-- Language definition generated by lang2to3
Description="TCSH"
Identifiers=[[ [a-zA-Z_\@][\w\-]* ]]
Keywords={
{ Id=1,
List={"return", "if", "endif", "then", "else", "switch", "endsw", "while", "end", "foreach", "do", "done", "", "eval", "exec", "exit", "fg", "goto", "glob", "hashstat", "history", "jobs", "kill", "limit", "login", "logout", "nohup", "notify", "nice", "onintr", "popd", "pushd", "printenv", "read", "rehash", "repeat", "set", "setenv", "shift", "source", "suspend", "time", "umask", "unalias", "unhash", "unlimit", "unset", "unsetenv", "wait", "alloc", "bindkey", "builtins", "complete", "echotc", "filetest", "hup", "log", "sched", "settc", "setty", "stop", "telltc", "uncomplete", "where", "which", "dirs", "ls-F", "@"},
},
{ Id=2,
Regex=[[\$\S+]],
},
{ Id=3,
Regex=[[(\$\{\w+\})]],
},
}
Strings={
Delimiter=[["|']],
}
IgnoreCase=false
Comments={
{ Block=false,
Delimiter= { [[#]] },
},
}
Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|\<|\>|\!|\=|\/|\*|\%|\+|\-]]
|