I have a test.txt file that looks like this:
flask=1.0.1
control=1.0.1
device=1.0.1
Now, I want to create an if statement that if flask=1.0.1, do something and if flash=1.0.1_hotfix do something else.
I tried with grep -iFq but no luck, I am newbie to bash and also to programming.
Can anyone show me a doc that explains how to do so? It's really simple task.
Thank you all!