a2ps
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about a2ps's perl.ssh


From: Larry W. Virden
Subject: Question about a2ps's perl.ssh
Date: Tue, 28 Nov 2000 06:43:35 -0500 (EST)

I was comparing the sheets.tar.gz that is on the a2ps web site with
the sheets directory in a2ps 4.13 (which as far as I can tell
was the last release).  I found that quite a number of the pages in
the sheets tar file are newer than the ones in the distribution.
However, there is one which is older than what I have in my a2ps
distribution - perl.ssh .  Here's what I see as diffs.  Can anyone
comment on why the sheets tar file has an older file?

--- a2ps-4.13/sheets/perl.ssh   Wed Feb 23 15:37:05 2000
+++ /tmp/sheets/perl.ssh        Wed Feb  9 03:14:29 2000
@@ -31,3 +31,3 @@
 written by "Denis Girou <address@hidden>"
-version is 2.11
+version is 2.10
 requires a2ps version 4.13
@@ -106,10 +106,10 @@
     (/(s|tr)/                  # 1. The command: `tr' or `s'
-     /(([[:punct:]])/          # 2. The delimiter
+     /([[:punct:]])/           # 2. The delimiter
      /(/                       # 3. The *two* regexps
      /(.|\\\\.)*/              #   First regexp
-     /\\3/                     #   Separator
+     /\\2/                     #   Separator
      /(.|\\\\.)*/              #   Second Regexp
      /)/                       #
-     /\\3)/                    # Closer
-     \1 Keyword_strong, \2 Plain),
+     /\\2/                     # Closer
+     \1 Keyword_strong, \2 Plain, \3 Plain, \2 Plain),
 
@@ -118,8 +118,8 @@
     (/(s|tr)/                  # The command: `tr' or `s'
-     /(\\(/                    # The delimiter
+     /\\((/                    # The delimiter
      /([^)]|\\\\.)*/           # First part
-     /\\)[^(]*\\(/             # The separation
+     /\\)[^(]*\\(|/            # The separation
      /([^)]|\\\\.)*/           # Second part
-     /\\))/                    # Closer
-     \1 Keyword_strong, \2 Plain),
+     /)\\)/                    # Closer
+     \1 Keyword_strong, "(" Plain, \1 Plain, ")" Plain),
 
@@ -128,8 +128,8 @@
     (/(s|tr)/                  # The command: `tr' or `s'
-     /(\\{/                    # The delimiter
+     /\\{(/                    # The delimiter
      /([^}]|\\\\.)*/           # First part
-     /\\}[^{]*\\{/             # The separation
+     /\\}[^{]*\\{|/            # The separation
      /([^}]|\\\\.)*/           # Second part
-     /\\})/                    # Closer
-     \1 Keyword_strong, \2 Plain),
+     /)\\}/                    # Closer
+     "s" Keyword_strong, "{" Plain, \1 Plain, "}" Plain),
 
@@ -138,8 +138,8 @@
     (/(s|tr)/                  # The command: `tr' or `s'
-     /(\\[/                    # The delimiter
+     /\\[(/                    # The delimiter
      /([^]]|\\\\.)*/           # First part
-     /\\][^[]*\\[/             # The separation
+     /\\][^[]*\\[|/            # The separation
      /([^]]|\\\\.)*/           # Second part
-     /\\])/                    # Closer
-     \1 Keyword_strong, \2 Plain)
+     /)\\]/                    # Closer
+     "s" Keyword_strong, "[" Plain, \1 Plain, "]" Plain)
 end operators
-- 
Never apply a Star Trek solution to a Babylon 5 problem.
Larry W. Virden <mailto:address@hidden> <URL: http://www.purl.org/NET/lvirden/>
Even if explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.
-><-



reply via email to

[Prev in Thread] Current Thread [Next in Thread]