Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Lotus-FromDomain: GDYN From: JROZYCKI AT ebmail DOT gdeb DOT com To: cygwin AT cygwin DOT com Message-ID: <85256A48.006A6FF5.00@ebmail.gdeb.com> Date: Thu, 10 May 2001 15:27:04 -0400 Subject: Question about the 'read' command in bash Mime-Version: 1.0 Content-type: text/plain; charset=US-ASCII I have a bash shell script with the following lines of code: #!/bin/bash uname | cut -c1-4 | read op_sys echo $op_sys This works fine at work using SGI IRIX and ksh, but under cygwin and bash at home, op_sys does not get set - null is echoed.. what do I need to do differently? thanks, Jeff -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple