Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jan 2011 21:29:46 -0600 (CST)
From:      Robert Bonomi <bonomi@mail.r-bonomi.com>
To:        questions@freebsd.org
Subject:   Re: Which php??
Message-ID:  <201101140329.p0E3TkIm030593@mail.r-bonomi.com>
In-Reply-To: <20110114041025.65ed6a67.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> From owner-freebsd-questions@freebsd.org  Thu Jan 13 21:16:20 2011
> 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??
>
> 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!):

Correct accounting is 'one _excess_ byte per line break'.
>
>  recode cp437..iso8859 <filename>

no need to install the port/package --

   tr -d '\r' <dosfile >unixfile

does the trick, with just a base install utility.




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