Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2003 08:11:38 +0300
From:      Mike Jackson <mjj@isorauta.ntc.nokia.com>
To:        "ext Cliff L. Biffle" <cbiffle@safety.net>
Cc:        mobile@freebsd.org
Subject:   Re: netgear ma311 failures (wi0 driver)
Message-ID:  <20030422051138.GA28469@isorauta.ntc.nokia.com>
In-Reply-To: <200304211607.27258.cbiffle@safety.net>
References:  <20030417205051.GA1232@isorauta.ntc.nokia.com> <20030421095256.M2827@znfgre.tberna.bet> <016a01c30850$2680ffa0$15b55042@vizion2000.net> <200304211607.27258.cbiffle@safety.net>

next in thread | previous in thread | raw e-mail | index | archive | help
ext Cliff L. Biffle (cbiffle@safety.net) wrote:
> 
> On a related note, can a bourne shell guru drop me a line and tell me how to 
> for-loop over -lines- in a file instead of -words- in a file?  I've tried 
> changing the delimiter characters with no luck. :-)

Hi,
 Make a text file one word per line called TEXT.




#!/bin/sh

for x in `cat TEXT`
do
	echo -e "$x\n"
done


--
mike 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030422051138.GA28469>