[pmwiki-users] How to include last line?

Peter Bowers pbowers at pobox.com
Tue Jul 13 11:21:09 CDT 2010

On Thu, Jul 8, 2010 at 7:52 PM, Kollektivmail . <kollektivmail at gmail.com> wrote:
> So my question is.. how can you automatically include the last line of a
> page that is changing.

You might install Cookbook/TextExtract and then use something like this:

(:extract . regex=1 lines=-1 name=Group.Page:)

Or WikiSh can handle it although it may be overkill:

{(tail -n 1 Group.Page)}

(Haven't tested either but it should be pretty close...)

I tried negative numbers with the core (:include lines=n:) and it doesn't work.


More information about the pmwiki-users mailing list