I'm trying to make a dialog window that prints the output of grep that takes the output of find. Unfortunately my nested backticks don't work.
Here is the dialog window:
dialog --stdout --title "test" --backtitle "test" --msgbox "Test:\n `grep -l "${tablica[5]}" `find $string``" 16 60
I think I understand why it doesn't work (multiple ways on how to interpret the backticks), but I have no idea how to go around it.
Basically I'm making a basic window that prints all files that meet "find" search criteria and contain certain word inside (thats' what I use grep for).