[Tcsh] Double unary ! operator is expanded to history substitution.
M G P
tateusg at hotmail.com
Sat Jun 17 11:33:35 UTC 2023
I noticed it's possible to double the unary ! operator in expressions, just like in C. However, without a whitespace, it expands to history substitution:
if ! ! ( 1 ) echo ok
exit !! ( 1 )
The if example works okay, but the exit example expands to history substitution. Is this likely a bug to be fixed?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.astron.com/pipermail/tcsh/attachments/20230617/9d83704b/attachment.htm>
More information about the Tcsh
mailing list