This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]