mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-25 12:21:14 -03:00
Minor documentation update
darcs-hash:20050924013157-ac50b-4ad9f6bb8da67a24999796a9a3de90e334645540.gz
This commit is contained in:
@@ -1252,15 +1252,16 @@ that even if a variable contains spaces, it will never be separated
|
||||
into multiple arguments. If you want to tokenize a string, you can use
|
||||
the <a href="commands.html#tokenize">tokenize</a> command.
|
||||
|
||||
Command substitution is specified using parenthesis.
|
||||
Command substitution is specified using parenthesis, as in <tt>set name (whoami)</tt>.
|
||||
|
||||
There is no math mode, use bc.
|
||||
|
||||
The POSIX way of setting variables is <i>lame</i>. Whitespace
|
||||
sensitive languages are awful. "foo=bar" and "foo = bar" should not
|
||||
mean different things? \c fish uses a builtin, <tt>set</tt> to set and
|
||||
remove environment variables. This keeps things consistent. In fish,
|
||||
everything, including the switch/case statement is a command.
|
||||
mean different things. \c fish uses a builtin, <tt>set</tt> to set and
|
||||
remove environment variables. While this may seem a bit obscure, this
|
||||
makes for a very consistent language. In fish, everything, including
|
||||
the loops, assignments and switch/case statements is a command.
|
||||
|
||||
In \c fish, all block types end with the \c end command.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user