Convert \\subsection sections into rst format

This commit is contained in:
ridiculousfish
2018-12-18 18:44:30 -08:00
parent 256c2dadee
commit c33d1a217c
85 changed files with 408 additions and 204 deletions

View File

@@ -7,7 +7,8 @@ Synopsis
while CONDITION; COMMANDS...; end
\subsection while-description Description
Description
------------
`while` repeatedly executes `CONDITION`, and if the exit status is 0, then executes `COMMANDS`.
@@ -18,7 +19,8 @@ The exit status of the loop is 0 otherwise.
You can use <a href="#and">`and`</a> or <a href="#or">`or`</a> for complex conditions. Even more complex control can be achieved with `while true` containing a <a href="#break">break</a>.
\subsection while-example Example
Example
------------
\fish
while test -f foo.txt; or test -f bar.txt ; echo file exists; sleep 10; end