From: Earnie Boyd <earnie_boyd@yahoo.com>
To: "Eirik_Nordbrøden" <eirik.nordbroden@scandpower.no>,
cygwin@sourceware.cygnus.com
Subject: Re: CR/LF and read is shell scripts
Date: Fri, 18 Aug 2000 05:06:00 -0000 [thread overview]
Message-ID: <20000818120520.2951.qmail@web118.yahoomail.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]
--- Eirik_Nordbrøden <eirik.nordbroden@scandpower.no> wrote:
> Hello
>
> I have just installed cygwin on my NT workstation and have a problem with a
> shell script. The script generates a temporary file by the use of the echo
> statement and later on the content is evaluated with a cat and consecutive
> read statements. The problem is that the generated file contains CRLF at the
> end of each line, but the read statement only recognises the LF and therefore
> adds CR to the last variable read. I do not want to change the script so I
> wonder if this is an installation problem or if there are some other way to
> get around it. At installation I choose the option to treat all text files as
> MS Dos files.
>
Output pasted into a mail from `cygcheck -s -r -v' would be useful. Post it to
the list not to me. BTW, I'm guessing that you're using non-Cygwin tools
somewhere along the way.
Cheers,
=====
---
Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
__Cygwin: POSIX on Windows__
Cygwin Newbies: < http://gw32.freeyellow.com/ >
__Minimalist GNU for Windows__
Mingw32 List: < http://www.egroups.com/group/mingw32/ >
Mingw Home: < http://www.mingw.org/ >
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
next reply other threads:[~2000-08-18 5:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-18 5:06 Earnie Boyd [this message]
2000-08-22 7:09 ` Eirik Nordbrøden
-- strict thread matches above, loose matches on Subject: below --
2000-08-22 10:57 Earnie Boyd
2000-08-22 14:34 ` Larry Hall (RFK Partners, Inc)
2000-08-22 10:54 Earnie Boyd
2000-08-22 9:35 Fifer, Eric
2000-08-22 8:58 Earnie Boyd
2000-08-22 11:30 ` Larry Hall (RFK Partners, Inc)
2000-08-22 8:03 Fifer, Eric
2000-08-18 7:39 Fifer, Eric
2000-08-18 1:08 Eirik Nordbrøden
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20000818120520.2951.qmail@web118.yahoomail.com \
--to=earnie_boyd@yahoo.com \
--cc=cygwin@sourceware.cygnus.com \
--cc=eirik.nordbroden@scandpower.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).