I have a bash script:
for i in `seq 1 10` do read AA BB CC <<< $(cat file1 | grep DATA) echo ${i} echo ${CC} SORT=${CC}${i} echo ${SORT} done
therefore, "i" is an integer, and CC is a string of type "TODAY"
I would like to get in SORT , "TODAY1", etc.
But I get "1ODAY", "2ODAY" and so
Where is the mistake?
thanks
bash
flow
source share