-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Johan Vromans wrote: > I have a web site that is produced using ttree. > Conveniently, dot-files are skipped in the process with a "ignore" > instruction in ttree.cfg. > > However, I have .htaccess files that do need to be included (= copied). > > Unfortunately, the instructions are processed in the order ignore / > copy / accept. > > Is there an elegant work-around to skip dot files, while still being > able to include some?
Instead of ignore = ^\. Try this (untested): ignore = ^\.(?!htaccess) That will ignore all dot-files except ".htaccess". - -- C. Chad Wallace, B.Sc. The Lodging Company http://skihills.com/ OpenPGP Public Key ID: 0x262208A0 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFIV5AKeSNHCYiCKARAhjYAKC96Y5NDJqLJltkGIT1ONDcP+Nw5ACgt+Lx yiEc001A/0Qw0hzepxly0ug= =9btr -----END PGP SIGNATURE----- _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
