> potentially it has a bit more flexibility, e.g. you can have arrays and
> nested structures - with bash you're stuck with something clumsy like
>
> NUM_X=3
> X_1=a
> X_2=b
> X_3=c
>
> which will probably go horribly wrong if you mistype the second one as
> X2=b.
Actually bash has the array concept they just are never used.
pippo=(my array of values);
for a in 0 1 2 3
do
echo ${pippo[$a]}
done
is a perfectly valid piece of code in bash.
cheers
alessandra
>
>> Finally, has anyone stepped back and said "It shouldn't be this
>> complicated"?
>
> Yes, I keep saying it, but it doesn't seem to have much effect! I think
> part of the problem is that developers are decoupled from deployment,
> they only ever deploy things on their own small, controlled test
> systems, and few developers ever try to use the production system. The
> new SA3 should be a step in the right direction; the people doing
> integration will be directly connected to deployment, and developers
> won't be able to get their code built at all except through the SA3
> system so they will at least have to co-operate with it.
>
> Stephen
>
--
********************************************
* Dr Alessandra Forti *
* Technical Coordinator - NorthGrid Tier2 *
* http://www.hep.man.ac.uk/u/aforti *
********************************************
|