Skip to content

Commit ce8b2cf

Browse files
committed
fix 无效链接
1 parent b8b2670 commit ce8b2cf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

docs/linux/scripts/shell.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,6 @@ $ ./function-demo2.sh 10 20
13921392
13931393
执行 `./variable-demo4.sh hello world` ,然后在脚本中通过 `$1``$2` ... 读取第 1 个参数、第 2 个参数。。。
13941394
1395-
13961395
### 8.2. 函数处理参数
13971396
13981397
另外,还有几个特殊字符用来处理参数:
@@ -1645,7 +1644,7 @@ $ ./my_script
16451644
16461645
有时我们值需要 debug 脚本的一部分。这种情况下,使用`set`命令会很方便。这个命令可以启用或禁用选项。使用`-`启用选项,`+`禁用选项:
16471646
1648-
**:keyboard: 『示例源码』** [debug-demo.sh](https://github.com/dunwu/os-tutorial/blob/master/codes/shell/demos/statement/debug-demo.sh)
1647+
**:keyboard: 『示例源码』** [debug-demo.sh](https://github.com/dunwu/os-tutorial/blob/master/codes/shell/demos/debug-demo.sh)
16491648
16501649
```bash
16511650
# 开启 debug

0 commit comments

Comments
 (0)