X-Spam-Check-By: sourceware.org From: "Dave Korn" To: Subject: RE: bash CRLF problems (I have read the recent announcement) Date: Wed, 6 Dec 2006 23:54:54 -0000 Message-ID: <005701c71991$ed519e90$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <30169.1165448661@gemini.franz.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 06 December 2006 23:44, Kevin Layer wrote: > Eric Blake wrote: Kevin, please snip raw email addys when you reply - it gets people spammed. http://cygwin.com/acronyms#PCYMTNQREAIYR for more. >>> read version < foo1.out > > I prefer this to the echo -n, because the latter isn't supported on > all the platforms I run on (aix, for one). > > Thanks for the help. You guys rock. > > Kevin Actually, there was just /one/ more thing... I don't know if it's equally as cross-platform as 'read', but it is defined by POSIX, and you kept on mentioning that you can't use d2u because it's non-standard, so it's worth pointing out that there is a standards-compliant replacement for d2u, and it's "tr -d '\015'". cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/