From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from techfac.TechFak.Uni-Bielefeld.DE ([129.70.132.100]) by hawkwind.utcs.toronto.edu with SMTP id <2237>; Fri, 17 Sep 1993 09:36:00 -0400 Received: from dahlie.TechFak.Uni-Bielefeld.DE by techfac.TechFak.Uni-Bielefeld.DE id AA24901; Fri, 17 Sep 1993 15:35:31 +0200 Received: by dahlie.techfak.uni-bielefeld.de (5.0/tp.29.0890) id AA11887; Fri, 17 Sep 93 15:35:29 +0200 Date: Fri, 17 Sep 1993 09:35:29 -0400 From: malte@TechFak.Uni-Bielefeld.DE To: Message-Id: <9309171335.AA11887@dahlie.techfak.uni-bielefeld.de> Content-Type: text Apparently-To: rc@hawkwind.utcs.toronto.edu I have not decided yet wether a builtin read is a good idea or not. Meanwhile let me help you with this for( line in `` ($nl) { cat /some/file }){ words = `{ echo $line } } But I don't understand how your second solution works because there must be something wrong with input redirection. My rc behaves like this: ; while( echo outside ){ echo inside } > /dev/null outside outside .. Malte