Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2003 09:28:16 +1000
From:      Greg Black <gjb@gbch.net>
To:        "Cliff L. Biffle" <cbiffle@safety.net>
Cc:        mobile@freebsd.org
Subject:   Re: netgear ma311 failures (wi0 driver)
Message-ID:  <nospam-1050967696.37811@gw.gbch.net>
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

--Ksq4alxdE/AwthTb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2003-04-21, Cliff L. Biffle wrote:

> On a related note, can a bourne shell guru drop me a line and tell me how=
 to=20
> for-loop over -lines- in a file instead of -words- in a file?  I've tried=
=20
> changing the delimiter characters with no luck. :-)

Hardly a job for a guru, but this will do it:

$ cat foo.txt | while read data ; do echo ">>> $data" ; done

Replace the echo command with whatever you need.

--=20
Greg Black <gjb@gbch.net> <http://www.gbch.net/gjb.html>;
GPG signed mail preferred; further information in headers.

--Ksq4alxdE/AwthTb
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)
Comment: See http://www.gbch.net/keys.html for my public keys

iD8DBQE+pH6QXYO2+0sEt9YRAgvhAKCLAC3KgyAtOtsQShRnr7fJTBvwLACgo5xu
/hYRK8W3YSJ9cmVmxC0svbQ=
=dJgN
-----END PGP SIGNATURE-----

--Ksq4alxdE/AwthTb--



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