some small fixes
authorceriel <none@none>
Wed, 6 Dec 1989 12:38:18 +0000 (12:38 +0000)
committerceriel <none@none>
Wed, 6 Dec 1989 12:38:18 +0000 (12:38 +0000)
util/cmisc/tabgen.1
util/cmisc/tabgen.c

index d709a21..039b63b 100644 (file)
@@ -21,8 +21,8 @@ directly followed by a list of indices for which the table to be generated
 has this value. This list of indices must be in a certain \fBinputformat\fP,
 characterized by a charactet.
 Currently, there is only one inputformat, "c". In this format, the indices
-are characters. There are two special characters: '\e' and '-'. The
-'\e' behaves like in a C-string, and the '-' describes a range, unless
+are characters. There are two special characters: '\e' and '-'. The '\e'
+behaves like in a C-string, and the '-' describes a range, unless
 it starts the list of indices.
 .PP
 Some examples of descriptions:
index fecd6e0..85a838d 100644 (file)
@@ -296,7 +296,6 @@ quoted(pstr)
        }
        else    {
                switch (*str++) {
-
                case 'n':
                        ch = '\n';
                        break;
@@ -312,8 +311,12 @@ quoted(pstr)
                case 'f':
                        ch = '\f';
                        break;
+               case 'v':
+                       ch = '\v';
+                       break;
                default :
-                       ch = *str;
+                       ch = *(str - 1);
+                       break;
                }
        }
        *pstr = str;