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=`cat $1 | grep -e 'set output' | cut -d'"' -f 2`
using " instead of ' and the line above does the job.