Ready for testing
[enscript.git] / docs / states.man
index 60add58..f01079c 100644 (file)
@@ -111,7 +111,7 @@ executed on script startup for each input file and it can perform any
 initialization the script needs.  It normally also calls the
 \f3check_startrules()\f1 and \f3check_namerules()\f1 primitives which
 resolve the initial state from the input file name or the data found
-from the begining of the input file.  Here is a sample start block
+from the beginning of the input file.  Here is a sample start block
 which initializes two variables and does the standard start state
 resolving:
 .PP
@@ -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