>From: bialy663 <[EMAIL PROTECTED]>

> 

>Hi,

> 

>How do I include last 5 lines of specified page? I've modified
$RecentChangesFmt to show updates in table '|| $CurrentTime 

>||[=$ChangeSummary=] || [[{$Group}.{$Name}|{$Namespaced}]]||

>$AuthorLink||' and it's annoying that the newer changes are added at the
end of page (before changes were added at the beginning of page). Other

>solution: How should I force pmwiki to add new changes above the older
once? Thanks

 

This is a classic example of the (:tail .:) markup I mentioned in the
quickly-becoming-reality-due-to-Hans's-vigilance "shelltools" cookbook.

 

In actual shell script it would be "tail -n 5 filename" to get the last 5
lines of the filename.  Presumably in pmwiki-ese it would be something like
(:tail n=5 filename/pattern .:)

 

-Peter

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to