I want to list all my drivers from the file /etc/X11/xorg.conf
my file looks like this:
section "input class"
identifier "blablabla"
driver "my driver here"
I want to list every driver in this file using regex. I thought I could use something like this : grep -i "driver"
and concat it with the pipe and then, find what is between ""
but this is not working grep -i "driver" | grep -i "\"(.*?)\""
I think the problem is whitespaces but how could I use [[:space:]]
to ignore them ?
Thanks for all help!