What I want to do is to get a list of folders under a directory and make each folder its own variable. Here is what I have so far.
# Get the list of folders.
for i in */; do
basename2="$basename2 $basename "
PS3="Pick 1 of the $varcount $group web folders?: "
select group in $basename2
$basename2 is the result with all the folders with spaces in between. I was hoping that I could pick a number and select that folder.