Hi everyone, i need to "grep" a file with a string with space blanks, like this:
grep "XXXX XX" file.txt
The problem, i need put the "XXXX XX" in a string variable. When the script executes the grep, do:
gresp XXXX XX file.txt
How can i solve this problem?
The code of script:
AUX=XXXX" "XX
echo "AUX: "${AUX}
grep ${AUX} file.txt
Thanks!
Sorry