I have strings per line like:
" … “es” completed."
" … “en” completed."
" … “fr” completed."
I am trying to grep inverse match of all this. That is avoid output all the lines that match with the pattern.
echo " … “es” completed." | grep -v " … “(*)” completed."
echo " … “es” completed." | grep -v " … “[*]” completed."
echo " … “en” completed." | grep -v " … “[\w]” completed."
echo " … “fr” completed." | grep -v " … “[\W]” completed."
All this grep ways still output the strings, I don't know if I need use -e as option parameter, but I am not getting the desired result
" … “..” completed\."
- not a "wildcard"