diff --git a/tren.rst b/tren.rst index 38bd0b6..07cf870 100644 --- a/tren.rst +++ b/tren.rst @@ -190,10 +190,6 @@ the sequence in *ascending* order. A ``-`` would specify *descending* order. -There are many other renaming tokens and ways to construct -all manner of clever templates. These are discussed below in the -section entitled `TEMPLATE CONSTRUCTION`_. - Notice that there is *no old string* in our example above. That is, there is nothing to the left of the ``=`` symbol in the ``-r`` option. This effectively means "match anything" @@ -223,9 +219,9 @@ tren.py -x -r /$SYSNAME/*.bku=/$SYSNAME/*.bku.old If your system name were "matrix", then the command above would only -rename files in the form ``matrixbku``. If your system name +rename files in the form ``matrix.bku``. If your system name were "modar", then the command above would only rename files in the -form ``modarbku``. +form ``modar.bku``. There are a couple of things to keep in mind when doing things like this: @@ -244,6 +240,10 @@ string specification. +There are many other renaming tokens and ways to construct +all manner of clever templates. These are discussed below in the +section entitled `TEMPLATE CONSTRUCTION`_. + OPTIONS ------- @@ -671,7 +671,7 @@ :: - $Id: tren.rst,v 1.123 2010/01/19 20:49:31 tundra Exp $ + $Id: tren.rst,v 1.124 2010/01/19 20:52:14 tundra Exp $ You can find the latest version of this program at: