[TYPO3-dev] EM, TER2, XML and other animals

Simon Child simondt at gpuk.net
Sat Apr 22 12:26:46 CEST 2006


"Simon Child" <simondt at gpuk.net> wrote in message
news:mailman.1.1145700986.31774.typo3-dev at lists.netfielders.de...

> perl -p -e 's/[\n\ ]//gm' extensions.xml > ex.xml

whoops, correction, the above was a broken test!

perl -p -e 's/\n//m' extensions.xml > ex.xml

this doesn't try to remove the whitespace (not necessary? and if it is
necessary then of course it must be adjusted to remove only the whitespace
between a closing tag and the next opening tag, and not the whitespace
within data items!)

-- 
simon







More information about the TYPO3-dev mailing list