On Fri, Oct 27, 2006 at 02:06:57PM +1300, Don Gould wrote:
> for arg in [list]
> do
>  command(s)...
> done
> 
> What I don't understand is how to iterate true the lines/records in a file.

Items in a list are separated by $IFS, which includes spaces. So, for
most usages "you can't step line-by-line" unless you're going to jump
through hoops, in which case it's often better to use another language,
like perl, ruby or python.

-jim

Reply via email to