Re: Ttree again - fixed.

Sherwood Botsford <[email protected]> Sat, 24 Dec 2016 08:41:30 -0700
Newsgroups gmane.comp.lang.perl.modules.template-toolkit
Message-ID <CAOX=2F_2YWOQ6cug-+nVLMsnioexH7_Fg9y6b2rum+R31S0KTw@mail.gmail.com>
--===============2621184540675635578==
Content-Type: multipart/alternative; boundary=94eb2c0b6988898b3205446958f6

--94eb2c0b6988898b3205446958f6
Content-Type: text/plain; charset=UTF-8

I thought that accept would apply to things that weren't selected by a
previous statement. I had copy and ignore lines above the accept statement.

e.g.  I thought

copy  \.jpg$
ignore \.bak$
accept \.tt2$

would copy pictures, ignore backups and process templates.






Regards

Sherwood


On 24 December 2016 at 05:24, Johan Vromans <[email protected]> wrote:

> On Fri, 23 Dec 2016 15:48:38 -0700, Sherwood Botsford
> <[email protected]> wrote:
>
> > If there is no accept in the config, then EVERYTHING is accepted.
> > If there is an accept in the config, then ONLY those items are accepted.
>
> What else would you expect?
>
> _______________________________________________
> templates mailing list
> [email protected]
> http://mail.template-toolkit.org/mailman/listinfo/templates
>

--94eb2c0b6988898b3205446958f6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:&quot;ti=
mes new roman&quot;,serif">I thought that accept would apply to things that=
 weren&#39;t selected by a previous statement. I had copy and ignore lines =
above the accept statement.</div><div class=3D"gmail_default" style=3D"font=
-family:&quot;times new roman&quot;,serif"><br></div><div class=3D"gmail_de=
fault" style=3D"font-family:&quot;times new roman&quot;,serif">e.g.=C2=A0 I=
 thought</div><div class=3D"gmail_default" style=3D"font-family:&quot;times=
 new roman&quot;,serif"><br></div><div class=3D"gmail_default" style=3D"fon=
t-family:&quot;times new roman&quot;,serif">copy =C2=A0\.jpg$</div><div cla=
ss=3D"gmail_default" style=3D"font-family:&quot;times new roman&quot;,serif=
">ignore \.bak$</div><div class=3D"gmail_default" style=3D"font-family:&quo=
t;times new roman&quot;,serif">accept \.tt2$</div><div class=3D"gmail_defau=
lt" style=3D"font-family:&quot;times new roman&quot;,serif"><br></div><div =
class=3D"gmail_default" style=3D"font-family:&quot;times new roman&quot;,se=
rif">would copy pictures, ignore backups and process templates.</div><div c=
lass=3D"gmail_default" style=3D"font-family:&quot;times new roman&quot;,ser=
if"><br></div><div class=3D"gmail_default" style=3D"font-family:&quot;times=
 new roman&quot;,serif"><br></div><div class=3D"gmail_default" style=3D"fon=
t-family:&quot;times new roman&quot;,serif"><br></div><div class=3D"gmail_d=
efault" style=3D"font-family:&quot;times new roman&quot;,serif"><br></div><=
div class=3D"gmail_default" style=3D"font-family:&quot;times new roman&quot=
;,serif"><br></div></div><div class=3D"gmail_extra"><br clear=3D"all"><div>=
<div class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=
=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div>Regards</div><div=
><br></div><div>Sherwood<br><br></div></div></div></div></div></div></div><=
/div>
<br><div class=3D"gmail_quote">On 24 December 2016 at 05:24, Johan Vromans =
<span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_bl=
ank">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">On Fri, 23 Dec 2016 15:48:38 -0700, Sherwood Botsford<br>
&lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; wr=
ote:<br>
<br>
&gt; If there is no accept in the config, then EVERYTHING is accepted.<br>
&gt; If there is an accept in the config, then ONLY those items are accepte=
d.<br>
<br>
What else would you expect?<br>
<br>
______________________________<wbr>_________________<br>
templates mailing list<br>
<a href=3D"mailto:[email protected]">templates@template-toolki=
t.org</a><br>
<a href=3D"http://mail.template-toolkit.org/mailman/listinfo/templates" rel=
=3D"noreferrer" target=3D"_blank">http://mail.template-toolkit.<wbr>org/mai=
lman/listinfo/templates</a><br>
</blockquote></div><br></div>

--94eb2c0b6988898b3205446958f6--


--===============2621184540675635578==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

--===============2621184540675635578==--