Re: using cat to get a list to for in sh or in ksh
by David Spencer <spencer@[EMAIL PROTECTED]
>
Feb 7, 2008 at 01:58 AM
Bob Harris <nospam.News.Bob@[EMAIL PROTECTED]
> writes:
> while read line
> do
> set -- $line
> for item
> do
> do-something-with-$item
> done
> done <file
tr -s '[:space:]' '\n' <file |
while read x
do command $x
done
--
dhs spencer@[EMAIL PROTECTED]