mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 04:13:08 +00:00
fix random.1 man page
Trailing whitespace on a `\fish` command was causing this build failure: /private/var/folders/T/fish_doc_build_3RT8yS/random.doxygen:44: warning: found </pre> tag without matching <pre>
This commit is contained in:
parent
7c40abe4a6
commit
f31f53f61f
1 changed files with 4 additions and 1 deletions
|
@ -30,12 +30,15 @@ statistically accurate.
|
|||
\subsection random-example Example
|
||||
|
||||
The following code will count down from a random even number between 10 and 20 to 1:
|
||||
|
||||
\fish
|
||||
for i in (seq (random 10 2 20) -1 1)
|
||||
echo $i
|
||||
end
|
||||
\endfish
|
||||
|
||||
And this will open a random picture from any of the subdirectories:
|
||||
\fish
|
||||
|
||||
\fish
|
||||
open (random choice **jpg)
|
||||
\endfish
|
||||
|
|
Loading…
Reference in a new issue