This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: bash CRLF problems (I have read the recent announcement)
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 6 Dec 2006 23:54:54 -0000
- Subject: RE: bash CRLF problems (I have read the recent announcement)
On 06 December 2006 23:44, Kevin Layer wrote:
> Eric Blake <ebb9@byu.AARGH!> 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/