[pmwiki-users] How to parse text files?
tamouse mailing lists
tamouse.lists at gmail.com
Wed Feb 6 01:32:30 CST 2013
On Tue, Feb 5, 2013 at 2:06 AM, Mike Turco <mike at miketurco.com> wrote:
> Is there a way to parse the content from those files? I'm not worried
> about formatting, and if I have to do a little cleanup work by hand I
> can live with that.
It's dead easy if you know a little unix cli:
grep -E '^text=' Main.HomePage | sed -e 's/%3c/</g' -e 's/%0a/\n/g' -e
's/%25/%/g' > Main.HomePage.txt
Quite happily, Pm designed PmWiki as text based file storage! See
More information about the pmwiki-users