mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-04 12:41:16 -03:00
Switch \fish sections to rst format
This commit is contained in:
@@ -19,11 +19,14 @@ Example
|
||||
------------
|
||||
The following code searches all .c files for "smurf", and halts at the first occurrence.
|
||||
|
||||
\fish
|
||||
for i in *.c
|
||||
if grep smurf $i
|
||||
echo Smurfs are present in $i
|
||||
break
|
||||
|
||||
|
||||
::
|
||||
|
||||
for i in *.c
|
||||
if grep smurf $i
|
||||
echo Smurfs are present in $i
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
\endfish
|
||||
|
||||
|
||||
Reference in New Issue
Block a user