How can I append a string variable which I got through cut
with next variable? In the file application.properties, I have value: myValue=/tmp/user/
I tried:
file=myfile.properties
path=$(cat application.properties | grep myValue=)
path2=$(echo $path | cut -d'=' -f 2- )
pathToFile=$path2$file
But output is only: myfile.properties
. I need /tmp/user/myfile.properties
Thank you for your help.