I\'m trying to write a shell script that searches in a file specified as argument $1 for a regex and writes the found subpattern into a variable I can then use.
let\'s s
value=$( awk -F"'" '$1 == "set output " {print $2}' somefile )