Minor doc fixes

This commit is contained in:
Fabian Boehm 2024-09-18 22:11:14 +02:00
parent 0277fe3ca9
commit fc7be1c2a3
2 changed files with 5 additions and 3 deletions

View file

@ -54,9 +54,11 @@ The following code will create ``rmi``, which runs ``rm`` with additional argume
rm -i $argv rm -i $argv
end end
``alias`` sometimes requires escaping, as you can see here::
# This needs to have the spaces escaped or "Chrome.app..." # This needs to have the spaces escaped or "Chrome.app..."
# will be seen as an argument to "/Applications/Google": # will be seen as an argument to "/Applications/Google":
alias chrome='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome banana' alias chrome='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome'
See more See more

View file

@ -46,7 +46,7 @@ spawns ``sleep`` in the background, and then waits until it finishes.
for i in (seq 1 5); sleep 10 &; end for i in (seq 1 5); sleep 10 &; end
wait wait
spawns five jobs in the background, and then waits until all of them finishes. spawns five jobs in the background, and then waits until all of them finish.
:: ::
@ -55,4 +55,4 @@ spawns five jobs in the background, and then waits until all of them finishes.
hoge & hoge &
wait sleep wait sleep
spawns five jobs and ``hoge`` in the background, and then waits until all ``sleep``\s finish, and doesn't wait for ``hoge`` finishing. spawns five ``sleep`` jobs and ``hoge`` in the background, and then waits until all ``sleep``\s finish, and doesn't wait for ``hoge``.