mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Visually separate discrete examples
@@ -5,7 +5,8 @@
|
||||
```sh
|
||||
cd generated_files
|
||||
rm -r *.c
|
||||
|
||||
```
|
||||
```sh
|
||||
func(){
|
||||
cd foo
|
||||
do_something
|
||||
@@ -17,7 +18,8 @@ func(){
|
||||
```sh
|
||||
cd generated_files || exit
|
||||
rm -r *.c
|
||||
|
||||
```
|
||||
```sh
|
||||
# For functions, you may want to use return:
|
||||
func(){
|
||||
cd foo || return
|
||||
|
Reference in New Issue
Block a user