From: Tim Retout Date: Wed, 30 Dec 2009 17:53:14 +0000 (+0000) Subject: states.man: Escape backslashes in namerules and startrules examples. X-Git-Tag: v1.6.4.91~2 X-Git-Url: http://git.savannah.gnu.org/gitweb/?p=enscript.git;a=commitdiff_plain;h=953bc72761872478a7c60daf79a33a4dc2fd73df;hp=78f0a344832f0534d930dd4c601dee24c0605ab5 states.man: Escape backslashes in namerules and startrules examples. --- diff --git a/docs/ChangeLog b/docs/ChangeLog index 10286d8..7bfc3de 100644 --- a/docs/ChangeLog +++ b/docs/ChangeLog @@ -1,5 +1,8 @@ 2009-12-30 Tim Retout + * 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'. diff --git a/docs/states.man b/docs/states.man index 60add58..9b66975 100644 --- 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