[pmwiki-users] cookbook "ShellTools"
Patrick R. Michaud
pmichaud at pobox.com
Mon Jan 21 09:48:46 CST 2008
On Mon, Jan 21, 2008 at 09:13:00AM +0100, Helmut Hullen wrote:
> Hallo, Hans,
>
> Du (design5) meintest am 20.01.08:
>
> > But seeing this I think a lines=n option is more friendly and useful:
> > lines=5 would display the first 5 lines from every page, and
> > lines=-5 would display the last 5 lines from every page matching.
> > This would be similar to the (:include PageName lines=... :) option
> > (but would work on multiple pages).
>
> And then a third option would be nice
>
> lines=+5
>
> skips the first 4 lines and starts at line 5.
FWIW, the (:include:) directive already supports this, via
lines=5..
Pm
More information about the pmwiki-users
mailing list