[pmwiki-users] cookbook "ShellTools"

Helmut Hullen Hullen at t-online.de
Mon Jan 21 02:13:00 CST 2008


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.

Under Linux you find these features at "head" and "tail".

Viele Gruesse!
Helmut



More information about the pmwiki-users mailing list