Are you sure you aren't inserting an altgr+space character after the pipe character instead of just the normal space? I'm suspecting this because there is an additional empty space after "bash: (somecommand): command not found"
If grep wasn't found, bash would say:
bash: grep: command not found
you are seeing:
bash: grep: command not found
Are you sure you aren't inserting an altgr+space character after the pipe character instead of just the normal space? I'm suspecting this because there is an additional empty space after "bash: (somecommand): command not found"
If grep wasn't found, bash would say:
bash: grep: command not found
you are seeing:
bash: grep: command not found