|
16 | 16 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
17 | 17 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
18 | 18 | # |
19 | | -# $Id: roundup-admin,v 1.56 2001-12-31 05:09:20 richard Exp $ |
| 19 | +# $Id: roundup-admin,v 1.57 2001-12-31 05:12:01 richard Exp $ |
20 | 20 |
|
21 | 21 | # python version check |
22 | 22 | from roundup import version_check |
@@ -138,6 +138,18 @@ printed results: |
138 | 138 | accepted; an empty string, a single node, or a list of nodes joined by |
139 | 139 | commas is accepted. |
140 | 140 |
|
| 141 | +When property values must contain spaces, just surround the value with |
| 142 | +quotes, either ' or ". A single space may also be backslash-quoted. If a |
| 143 | +valuu must contain a quote character, it must be backslash-quoted or inside |
| 144 | +quotes. Examples: |
| 145 | + hello world (2 tokens: hello, world) |
| 146 | + "hello world" (1 token: hello world) |
| 147 | + "Roch'e" Compaan (2 tokens: Roch'e Compaan) |
| 148 | + Roch\'e Compaan (2 tokens: Roch'e Compaan) |
| 149 | + address="1 2 3" (1 token: address=1 2 3) |
| 150 | + \\ (1 token: \) |
| 151 | + \n\r\t (1 token: a newline, carriage-return and tab) |
| 152 | +
|
141 | 153 | When multiple nodes are specified to the roundup get or roundup set |
142 | 154 | commands, the specified properties are retrieved or set on all the listed |
143 | 155 | nodes. |
@@ -1000,6 +1012,10 @@ if __name__ == '__main__': |
1000 | 1012 |
|
1001 | 1013 | # |
1002 | 1014 | # $Log: not supported by cvs2svn $ |
| 1015 | +# Revision 1.56 2001/12/31 05:09:20 richard |
| 1016 | +# Added better tokenising to roundup-admin - handles spaces and stuff. Can |
| 1017 | +# use quoting or backslashes. See the roundup.token pydoc. |
| 1018 | +# |
1003 | 1019 | # Revision 1.55 2001/12/17 03:52:47 richard |
1004 | 1020 | # Implemented file store rollback. As a bonus, the hyperdb is now capable of |
1005 | 1021 | # storing more than one file per node - if a property name is supplied, |
|
0 commit comments