Thanks for looking into my concern.
I have a text file with key value pairs. like version.txt and content is Version=1.0.0.AA
Now I want to read this text file use this version number inside my scripts.
I am handling this in windows using below script:
For /F "tokens=1* delims==" %%A IN (..\version.txt) DO (
IF /I "%%A"=="version" set APP_VERSION=%%B
)
echo Application Version is "%APP_VERSION%"
Could you please help me to achieve the same in Shell scripts.
Thanks.