[Pmwiki-users] Suggestions for [[<<]] replacement.
Patrick R. Michaud
pmichaud
Wed Jan 14 08:50:29 CST 2004
On Wed, Jan 14, 2004 at 04:09:55PM +0100, Christian Ridderstr?m wrote:
> > Sure, use grep(1) and take out only the lines that begin with "text=".
> > E.g., something like:
> > grep '^text=' * | grep -l '\[\[<<]]' | wc --lines
>
> Thanks. How can I extract the text with line breaks etc?
> (not using ?action=source, but through raw access to the file).
grep -h '^text=' [file] | tr '\262' '\012'
Pm
More information about the pmwiki-users
mailing list