I have a text file of the following format:
Value1=some string-1
Value2=some string-2
Value3=some string-3
Value4=some string-4
Value5=some string-5
Value6=some string-6
If I need to find the value for Value6
and print out some string-6
how would I do that in SHELL script?
if grep -qs "Value6" Test.txt
then
print some string-6
fi
How would I print some string-6
here?