From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 18:30:10 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5477D106566C for ; Fri, 14 Jan 2011 18:30:10 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 189BB8FC13 for ; Fri, 14 Jan 2011 18:30:09 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 16187E808D5; Fri, 14 Jan 2011 10:30:08 -0800 (PST) Date: Fri, 14 Jan 2011 10:30:08 -0800 From: Gary Kline To: Robert Bonomi Message-ID: <20110114183008.GA4663@thought.org> References: <20110114041025.65ed6a67.freebsd@edvax.de> <201101140329.p0E3TkIm030593@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201101140329.p0E3TkIm030593@mail.r-bonomi.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: questions@freebsd.org Subject: Re: Which php?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2011 18:30:10 -0000 On Thu, Jan 13, 2011 at 09:29:46PM -0600, Robert Bonomi wrote: > > From owner-freebsd-questions@freebsd.org Thu Jan 13 21:16:20 2011 > > Date: Fri, 14 Jan 2011 04:10:25 +0100 > > From: Polytropon > > To: Gary Kline > > Cc: User Questions > > Subject: Re: Which php?? > > > > On Thu, 13 Jan 2011 18:41:15 -0800, Gary Kline 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 > > no need to install the port/package -- > > tr -d '\r' unixfile > > does the trick, with just a base install utility. Sure. I have that trick in my ~/.HowTo file. I also have a small program that converts every EOL to any other EOL. It is call cvt. This conflicts with another base utility named install, so what is a good shell script that would capture every file in every subdir? Maybe /bin/sh pointed at some loop: find . -type f * print; tr -d '\r' /tmp/unixfile mv /tmp/unixfile ./dosfile; IM _NSH_ Opinion, whoever threw in this wordpress port could have done this for us....... > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org