What if I try to make a pipe with '|' or redirect the result with '>'? Should there be a warning for that?
I find it amusing that people really do that though.
I find it amusing that people really do that though.
On the other hand, piping and redirection are relatively uncommon outside of the shell. There is certainly a clearer mental distinction for me between "I am in shell" and "I am not in shell" than "I should double star".
YMMV or course, but distinction between a low-level language like C, and a higher-level one that can support exponentiation, matrix multiplication, thread spawning etc. as a first-class language construct is as clear to me as the difference between shell and non-shell.
X ** Y
would be parsed as X * (*Y)