I have very abstract need of "comparing two variables" and take subsequent actions.
please refer to image below
I have a part of script which reads a file and generates variables based on content of this file.(Variables generated in same shell)
The reason i have categorized the design in user and script environment is that the script environment must be able to handle changes made in user environment.
The changes will only be in the form of new line entries in file1.txt
I need help on how to move from desired output to final output:(
I will get what i need.
But again. there is one more problem.. since i am not experienced with grep, i will need your help.
my file1.txt is actually like this: