mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-02 19:21:15 -03:00
doc: add interlinks between break and continue commands
This commit is contained in:
committed by
Fabian Homborg
parent
81668b3f86
commit
a9eeca0d14
@@ -23,8 +23,6 @@ Example
|
||||
-------
|
||||
The following code searches all .c files for "smurf", and halts at the first occurrence.
|
||||
|
||||
|
||||
|
||||
::
|
||||
|
||||
for i in *.c
|
||||
@@ -34,3 +32,7 @@ The following code searches all .c files for "smurf", and halts at the first occ
|
||||
end
|
||||
end
|
||||
|
||||
See Also
|
||||
--------
|
||||
|
||||
- the :ref:`continue <cmd-continue>` command, to skip the remainder of the current iteration of the current inner loop
|
||||
|
||||
@@ -20,8 +20,6 @@ Example
|
||||
|
||||
The following code removes all tmp files that do not contain the word smurf.
|
||||
|
||||
|
||||
|
||||
::
|
||||
|
||||
for i in *.tmp
|
||||
@@ -34,3 +32,7 @@ The following code removes all tmp files that do not contain the word smurf.
|
||||
echo $i
|
||||
end
|
||||
|
||||
See Also
|
||||
--------
|
||||
|
||||
- the :ref:`break <cmd-break>` command, to stop the current inner loop
|
||||
|
||||
Reference in New Issue
Block a user