I am reading the bash source code, and the BNF grammar for bash would be:
::=
| '!'
|
| '!'
| '!'
::=
'|'
|
Does this means
!
command is a kind of pipe too.
! ls
works, however it's the same as ls
.
! time ls
works too.
That's quite different to |
pipe.
How to use !
in bash? Is it a pipe?
Asked by frams
(566 rep)
Nov 25, 2017, 01:39 PM
Last activity: Mar 14, 2024, 04:07 PM
Last activity: Mar 14, 2024, 04:07 PM