states.man: Escape backslashes in namerules and startrules examples. - enscript - GNU Enscript
(HTM) git clone git://thinkerwim.org/enscript.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 953bc72761872478a7c60daf79a33a4dc2fd73df
(DIR) parent 78f0a344832f0534d930dd4c601dee24c0605ab5
(HTM) Author: Tim Retout <diocles@gnu.org>
Date: Wed, 30 Dec 2009 17:53:14 +0000
states.man: Escape backslashes in namerules and startrules examples.
Diffstat:
M docs/ChangeLog | 3 +++
M docs/states.man | 8 ++++----
2 files changed, 7 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/docs/ChangeLog b/docs/ChangeLog
@@ -1,5 +1,8 @@
2009-12-30 Tim Retout <diocles@gnu.org>
+ * states.man (STATES PROGRAM FILES): Escape backslashes in
+ namerules and startrules examples.
+
Small corrections probably originally by Michael Fedrowitz.
* enscript.man (SYNOPSIS): Correct '-W' to '-w'.
(DIR) diff --git a/docs/states.man b/docs/states.man
@@ -141,14 +141,14 @@ following start and name rules can distinguish C and Fortran files:
.nf
namerules
{
- /\.(c|h)$/ c;
- /\.[fF]$/ fortran;
+ /\\.(c|h)$/ c;
+ /\\.[fF]$/ fortran;
}
startrules
{
- /-\*- [cC] -\*-/ c;
- /-\*- fortran -\*-/ fortran;
+ /-\\*- [cC] -\\*-/ c;
+ /-\\*- fortran -\\*-/ fortran;
}
.fi
.RE