mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-26 05:01:15 -03:00
Switch \fish sections to rst format
This commit is contained in:
@@ -17,14 +17,17 @@ Example
|
||||
|
||||
The following code removes all tmp files that do not contain the word smurf.
|
||||
|
||||
\fish
|
||||
for i in *.tmp
|
||||
if grep smurf $i
|
||||
continue
|
||||
|
||||
|
||||
::
|
||||
|
||||
for i in *.tmp
|
||||
if grep smurf $i
|
||||
continue
|
||||
end
|
||||
# This "rm" is skipped over if "continue" is executed.
|
||||
rm $i
|
||||
# As is this "echo"
|
||||
echo $i
|
||||
end
|
||||
# This "rm" is skipped over if "continue" is executed.
|
||||
rm $i
|
||||
# As is this "echo"
|
||||
echo $i
|
||||
end
|
||||
\endfish
|
||||
|
||||
|
||||
Reference in New Issue
Block a user