Search Results

Search: Posts Made By: jim mcnamara
1,451
Posted By jim mcnamara
It looks like you are using bash - the array...
It looks like you are using bash - the array declaration is correct.
The the full syntax is:
declare -a myArray=( value1 value2 value3 )

for i in ${myArray }; do printf "%s\t" $i; done

Note...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 09:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy