Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2011 04:10:25 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Gary Kline <kline@thought.org>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: Which php??
Message-ID:  <20110114041025.65ed6a67.freebsd@edvax.de>
In-Reply-To: <20110114024115.GC17091@thought.org>
References:  <20110112195347.GA21353@thought.org> <201101121758.12869.rjgonzale@estrads.com.ar> <20110112203503.GA22381@thought.org> <4D2E32AF.4000008@ifdnrg.com> <20110113001854.GA55758@thought.org> <48221D4A-A7DB-4EE5-B6CC-670DCFA68BAD@panix.com> <20110113211406.GA15406@thought.org> <4D2F71D0.1080307@ifdnrg.com> <20110113223610.GA17091@thought.org> <4D2F80A2.1050607@ifdnrg.com> <20110114024115.GC17091@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 Jan 2011 18:41:15 -0800, Gary Kline <kline@thought.org> wrote:
> 	I cut/pasted part of the config page to a yello w notepad.  It
> 	unfortunately has those unfortunate DOS EOL things with the ^M.  

There's a simple answer to that waste of disk space (two
bytes per line break!):

	recode cp437..iso8859 <filename>

It's also handy for users who have german umlauts in DOS
text files and need to recode them to iso8859-1. (It's also
a nice tool if the conversion is used in opposite order:
This way, UNIX files can be converted to be sent directly
to dotmatrix printers that expect DOS text streams.)

The recode utility can be found in converters/recode port.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110114041025.65ed6a67.freebsd>