If there was a success in opening a file, when why would there be any string in error message about not finding a file (unless for perverse reason the command being called lies about the failure)?
You are searching for an exact string not for a partial match in grep.
In reply to Re: Confusion with finding strings in command output
by Anonymous Monk
in thread Confusion with finding strings in command output
by pgduke65
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |