/usr/share/enscript/hl/mail.st is in enscript 1.6.5.90-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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | /**
* Name: mail
* Description: Mail and news articles.
* Author: Originally by Markku Rossi <mtr@iki.fi>, heavily modified
* by Matthew Weigel <weigel@pitt.edu>
*/
state mail_body extends Highlight
{
BEGIN {
reference_face (false);
}
/^[ \t]*>/ {
comment_face (true);
language_print ($0);
call (eat_one_line);
comment_face (false);
}
}
state mail_header extends Highlight
{
BEGIN {
reference_face (true);
}
END {
comment_face (true);
}
/[ \t:]/ {
language_print ($0);
return;
}
}
state mail extends HighlightEntry
{
/^[ \t]*$/ {
/* Move to the mail body. */
call (mail_body);
}
/^/ {
reference_face (true);
language_print ($0);
call (mail_header);
comment_face (true);
}
}
/*
Local variables:
mode: c
End:
*/
|