[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Impossible to populate database - now successful !!

Wordpad on Windows won't add a cr if it wasn't there in the first place.

GOMBAS Gabor wrote:
> On Mon, Sep 25, 2000 at 03:59:06PM +0200, Michelle.Wetterwald@stonesoft.com wrote:
> > Since this make take me a lot of time to remove it manually from every entry I
> >       want to add in my database, may someone suggest me a "valid" editor? I am
> >       currently using emacs under Linux and/or the Notepad under Win-NT.
> Why manually? You can do "dos2unix < input.ldif > output.ldif" under Linux.
> Or if your distribution does not ship dos2unix, you can use
> "tr -d ^M < input.ldif > output.ldif" too (entering ^M under bash: press
> Ctrl+V and then press Ctrl+M).
> Gabor
> --
> Gabor Gombas                                       Eotvos Lorand University
> E-mail: gombasg@inf.elte.hu                        Hungary

Patrick Timmons, service informatique