Hello All,
I hope you are all well and I'm really sorry to post this, I know that similar things have been posted before but I am really struggling to get my head around it.
Essentially, I want to feed in selective arguments from a configuration file to my shell script. As an example my config file is as follows:
Code:
#Randomcheck here
randvariable=0
#Cut off
Cutoff=10
How would I write a script in bash to only take the value of Cutoff and ignore Randvariable? Please please please write it as if you are speaking to a 5 year old
Best wishes and thanks,
Lewis
Bookmarks