let: move to common (#15239)

This commit is contained in:
Managor
2024-12-21 00:39:37 +02:00
committed by GitHub
parent 0fe60568a9
commit f3d0a78490

View File

@@ -1,21 +0,0 @@
# let
> Evaluate arithmetic expressions in shell.
> Supports variables, operators, and conditional expressions.
> More information: <https://manned.org/let>.
- Evaluate a simple arithmetic expression:
`let "{{result = a + b}}"`
- Use post-increment and assignment in an expression:
`let "{{x++}}"`
- Use conditional operator in an expression:
`let "{{result = (x > 10) ? x : 0}}"`
- Display help:
`let --help`