Andy Wardley <[EMAIL PROTECTED]> writes: > 'Twas asked: > >Is there any way to get ttree to generate files with a different > >suffix than the template? > > Mark Anderson responded: > > Ok, here is a patch that does it. > > Thanks Mark, I've applied a slight variation of this. > > In my version the suffix option can be used multiple times to define > different extensions to be mapped from src to dest. I thought this > gave a little more flexibility. > > e.g. > $ ttree --suffix tt2=html --suffix htm=html > > This will change all '.tt2' and '.htm' extensions to '.html', leaving all > others as they are.
I really appreciate that one, thanks. -- David Dyer-Bennet, <[EMAIL PROTECTED]>, <www.dd-b.net/dd-b/> RKBA: <noguns-nomoney.com> <www.dd-b.net/carry/> Photos: <dd-b.lighthunters.net> Snapshots: <www.dd-b.net/dd-b/SnapshotAlbum/> Dragaera mailing lists: <dragaera.info/> _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
