shell script output

Kaushal Shriyan kaushalshriyan at gmail.com
Fri Nov 24 09:14:59 UTC 2006


Hi

Below is my script

##########################################
#!/bin/bash

v1=20
v2=30
v3=40

i=1

for i in 1 2 3
do
echo  $'v'$i''
done

##########################################

I want to print the values of v1,v2 and v3

Thanks

Kaushal




More information about the users mailing list