Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IN="oktobris;novembris;decembris;janvaris;februaris;marts;aprilis;maijs;junijs;julijs;augusts;septembri"
- arr=$(echo $IN | tr ";" "\n")
- #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- #this is an example how the cycles in bash are made
- #for x in $arr
- #do
- # echo "$x"
- #done
- i=3
- for x in $arr
- do
- v.db.renamecol map=perc83 column=dbl_$i,$x
- echo "$x dbl_$i"
- i=$(echo $i+1| bc ;exit)
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement