one.txt contents as below.
Hi this is the first line in a file one.txt cooler:some default cooler string `/var/log/cooler_x86_64_someos8.4/config.cf' doing good nice! all is well Hi this is the lastline in a file one.txt
I need as below
cat one.txt | grep cooler | sed somergexp
Yes first is back quote and end is single quote
I could able to do with using two
sed's as below
sed 's:^.*\(`.*\)'\''.*$:\1:'| sed 's/`//'
but need to do with a single