From f4c8dc72a7fc125c21425a224ea15a98b11180fb Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Fri, 24 Sep 2021 20:32:29 +0200 Subject: [PATCH] docs: Some minor stuff in fish_for_bash_users --- doc_src/fish_for_bash_users.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc_src/fish_for_bash_users.rst b/doc_src/fish_for_bash_users.rst index f2b9dfb8b..c462c7f2c 100644 --- a/doc_src/fish_for_bash_users.rst +++ b/doc_src/fish_for_bash_users.rst @@ -216,7 +216,6 @@ Fish has a POSIX-compatible ``test`` or ``[`` builtin. There is no ``[[`` and `` Arithmetic Expansion -------------------- -- Fish does not have ``$((i+1))`` arithmetic expansion, computation is handled by :ref:`math `:: @@ -227,6 +226,11 @@ It can handle floating point numbers:: > math 5 / 2 2.5 +And also hase some functions, like for trigonometry:: + + > math cos 2 x pi + 1 + Prompts -------