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
end
``alias`` sometimes requires escaping, as you can see here::
# This needs to have the spaces escaped or "Chrome.app..."
# 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

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
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 &
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``.