Subject: Bourne shell question
To: None <netbsd-help@netbsd.org>
From: Daniel Eggert <danieleggert@mac.com>
List: netbsd-help
Date: 12/19/2002 17:00:00
I hope this is not completely OT:

In my shell script I have two variables. Something like this:
	partitions="ld0a ld0b ld1a"
	paths="/a /b /c"
Now I want to loop through these and access
	'ld0a' with '/a'
	'ld0b' with '/b'
	'ld1a' with '/c'
Is there any easy / clever way to do this in /bin/sh?

I want to use the shell script from the INSTALL kernel memery file 
system, so I cannot use any fancy stuff liek perl.

Daniel