Show More
@@ -186,13 +186,11 b' First, capture output of "hg status"::' | |||||
186 |
|
186 | |||
187 | Now we can just remove these files by doing 'rm $junk.s'. |
|
187 | Now we can just remove these files by doing 'rm $junk.s'. | |
188 |
|
188 | |||
189 |
The . |
|
189 | The .n, .s, .p properties | |
190 | ------------------------- |
|
190 | ------------------------- | |
191 |
|
191 | |||
192 |
|
|
192 | * ``.n`` returns (original) string with lines separated by a newline | |
193 | single space (for convenient passing to system commands). The ``.n`` |
|
193 | * ``.s`` returns string with lines separated by single space (for | |
194 | property return one string where the lines are separated by a newline |
|
194 | convenient passing to system commands) | |
195 | (i.e. the original output of the function). If the items in string |
|
195 | * ``.p`` if string contains file names, returns list of "path" objects | |
196 | list are file names, ``.p`` can be used to get a list of "path" objects |
|
196 | for convenient file manipulation | |
197 | for convenient file manipulation. |
|
|||
198 |
|
General Comments 0
You need to be logged in to leave comments.
Login now