Check-in Number:
|
1310 | |
Date: |
2001-Nov-13 13:49:29 (local)
2001-Nov-13 12:49:29 (UTC) |
User: | simons |
Branch: | |
Comment: |
Moved the grammar from this file to the man page. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/var/TODO 1.2 -> 1.3
--- TODO 2001/11/13 12:18:51 1.2
+++ TODO 2001/11/13 12:49:29 1.3
@@ -13,45 +13,6 @@
\x1B hex char
\x{263a} wide hex char
- - Syntax:
-
- input : ( TEXT | variable )*
-
- variable : '$' ( name | expression )
-
- expression : START-DELIM ( name | variable )+ ( ':' command )* END-DELIM
-
- name : ( VARNAME | SPECIAL1 | SPECIAL2 )+
-
- command : '-' ( EXPTEXT | variable )+
- | '+' ( EXPTEXT | variable )+
- | 'o' ( NUMBER ('-' | ',') ( NUMBER )? )
- | '#'
- | '*' ( EXPTEXT | variable )+
- | 's' '/' ( variable | SUBSTTEXT )+ '/' ( variable | SUBSTTEXT )* '/' ( 'g' | 'i' | 't' )*
- | 'y' '/' ( variable | SUBSTTEXT )+ '/' ( variable | SUBSTTEXT )* '/'
- | 'p' '/' NUMBER '/' ( variable | SUBSTTEXT )* '/' ( 'r' | 'l' | 'c' )
- | 'l'
- | 'u'
-
- START-DELIM : '{'
-
- END-DELIM : '}'
-
- VARNAME : '[a-zA-Z0-9_]+'
-
- SPECIAL1 : '['
-
- SPECIAL2 : ']'
-
- NUMBER : '[0-9]+'
-
- SUBSTTEXT : '[^$/]'
-
- EXPTEXT : '[^$}:]+'
-
- TEXT : '[^$]+'
-
- Doku sollte ein Beispiel für Quoting von Shell- und
Regexp-Ausdrücken enthalten.
|
|