I'm searching for lines with $
and consecutively '
or "
through this grep in my terminal:
grep "\\$('|\")" -rin folder_path
After pressing enter the terminal doesn't think the line is complete so it adds another line for me to keep writing. If I press Tab while writing folder_path
it shows this error:
bash: command substitution: line 107: syntax error: file premature end
bash: command substitution: line 106: unexpected file premature end while searching for `''
Those error messages were translated because a part of them are shown in portuguese. I'm using Ubuntu 13.10.
What is wrong?