mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-27 08:43:09 -03:00
Update the docs regarding floats support in test (#5344)
* Replace "env" with "expr" in the test manpage I'm pretty sure `env` isn't capable of comparing numbers and the author meant `expr`. * Update the docs regarding floats support in test
This commit is contained in:
committed by
Fabian Homborg
parent
ab0f1d33fe
commit
75515a4917
@@ -78,7 +78,7 @@ When using a variable as an argument for a test operator you should almost alway
|
||||
|
||||
- `NUM1 -le NUM2` returns true if `NUM1` is less than or equal to `NUM2`.
|
||||
|
||||
Note that only integers are supported. For more complex mathematical operations, including fractions, the `env` program may be useful. Consult the documentation for your operating system.
|
||||
Both integers and floating point numbers are supported.
|
||||
|
||||
\subsection test-combinators Operators to combine expressions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user