[dokuwiki] Re: Hacking to recognise line break?

  • From: "Daniel Mitchell" <DanielMitchell@xxxxxxxxxxxxx>
  • To: <dokuwiki@xxxxxxxxxxxxx>
  • Date: Thu, 25 May 2006 11:02:25 -0600

>I can only think that the developers of dockuwiki have never had to
deal with
>importing an exiting hierarchy of text files. Has anyone explored
adapting 
>this hack so that it's the default behaviour, thus eliminating the need
to 
>add ~~NONEWLINE~~ to each file? 

 Alternatively, it's trivial to process all the files to add extra
newlines: 

for x in `find .`; do sed -e "s/$/\n/" < ${x} > ../processed/${x}; done

 should do the trick, or you could prepend ~~NONEWLINE~~, or whatever.

 -- dan
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: