Another bash scripting problem...

Magnus Therning magnus at therning.org
Tue Jun 21 06:43:38 UTC 2005


On Mon, Jun 20, 2005 at 09:43:33PM -0400, Byron Saltysiak wrote:
>I believe the 'do' needs to be in the first line of the for loop:
>for ...
>do
> ...
>done

You can also do

for ...; do
 ...
done

/M

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus at therning.org
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

A closed mouth gathers no foot.
     -- Simon Murcott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050621/09f94e7d/attachment.sig>


More information about the ubuntu-users mailing list