echo -n "##### STATIONS? #######"
read station
text="stab_site "
I need to write echo $text$station
into the 27th line of text file. I used below command but it didn't work,
sed -i "27i\$text$station" text.data
it produce; $textankr ista
"text" variable cannot be passed within sed function.