| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| 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 |
| 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 |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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 <ebb9 AT byu DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |