I have a global variable
companies="A B C D E"

i have a call to a function that is

import_data companies

in my function I have

import_data()
{

for i in $1
do

process etc etc

done

}

this makes $1 become the word companies
Whats the syntax to make $1 become $companies and therefore substitute A B C
D E.

cheers

alister




--
Alister Waller
Roadtech Systems Ltd.
981A Victoria Road, West Ryde, NSW.
PH: 02 98073516 FAX: 02 98085294
www.roadtechsystems.com.au
--


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to