[Date Prev][Date Next]
Re: slapcat word wrap?
On Mon, 11 Apr 2005, Pierangelo Masarati wrote:
> This has been asked (and answered) many times in the past. I remember
> someone posting the essential perl code to unwrap ldif. You may search
> the archives.
perl -p -00 -e 's/\r\n //g; s/\n //g'
(The previous one didn't handle the case of \r\n)
Dave Horsfall DTM VK2KFU firstname.lastname@example.org Ph: +61 2 8425-5508 (d) -5500 (sw)
Corinthian Engineering, Level 1, 401 Pacific Hwy, Artarmon, NSW 2064, Australia