delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/18/12:26:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <20040818162525.3957.qmail@web60404.mail.yahoo.com>
Date: Wed, 18 Aug 2004 09:25:25 -0700 (PDT)
From: neal somos <nsomos AT yahoo DOT com>
Subject: read command available?
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

I literally cut and pasted a portion of Svend's post.
The portion I thought I used was ...
------------------------
ls | while read TEST
do
     echo $TEST
done
------------------------

I asked for 'ksh' and pasted.
I was totally flabbergasted when I got the
exact response Svend had posted.
-----------------
Is the read command somewhere available? Up to now I wasn't able to find
it.
-----------------

I was intrigued and tried it again, but this
time it worked properly producing the list
of expected file names.

And under sh and bash I would get the expected
list of file names.

That fact that it did not seem to reproduce on subsequent
attempts is puzzling.  While such things are possible
I begin to question my sanity when I have trouble
finding what could have printed that message.
Grepping through strings of everything in bin failed
to reveal where this might have come from.

Unfortunately I did one too many exits in the rxvt
shell window, and cannot even go back to ensure
I entered the commands I believe I entered.  
All subsequent attempts have been well behaved.

I fear that I may have been suffering from both
caffeine and sleep insufficiency and cut and pasted 
too much.  For the sake of my sanity I hope that someone 
else can reproduce this.  

neal


		
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 
http://messenger.yahoo.com

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019