Added material on quoting within include files.
1 parent 92746aa commit 1e4308db1cf3b7a2ffd37f4280298720dcaaa527
@tundra tundra authored on 17 Nov 2010
Showing 1 changed file
View
11
tren.rst
You'll need to put proper quoting around it to perserve if for
**tren** to see, whether in a renaming request, an alphabet
definition, or some part of a sequence renaming token.
 
- Quoting can also be tricky in include files. Remember that the
contents of the include file are presented to **tren** as if they
had been entered on the command line. For example, to replace
spaces in a filename with underscores, we have to quote the space
to preserve it as an argument to be passed to **tren**::
 
# 'tren' include to get rid of spaces in filenames
-i: -r' '=_ -r_-_=- -i0
 
- Most shells don't care if you leave a space between an option
and its argument. It's a really good idea to do so as a matter
of habit, especially when dealing with a complex command line
driven tool like **tren**.
-----------------------------
 
::
 
$Id: tren.rst,v 1.198 2010/11/16 20:59:31 tundra Exp $
$Id: tren.rst,v 1.199 2010/11/17 19:41:46 tundra Exp $
 
You can find the latest version of this program at:
 
http://www.tundraware.com/Software/tren