From ce8b2cfb1398902607d98c0bf6254ea9e29f0187 Mon Sep 17 00:00:00 2001 From: Zhang Peng Date: Fri, 1 Mar 2019 15:31:11 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=97=A0=E6=95=88=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/linux/scripts/shell.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/linux/scripts/shell.md b/docs/linux/scripts/shell.md index 67c51b5..82a719c 100644 --- a/docs/linux/scripts/shell.md +++ b/docs/linux/scripts/shell.md @@ -1392,7 +1392,6 @@ $ ./function-demo2.sh 10 20 执行 `./variable-demo4.sh hello world` ,然后在脚本中通过 `$1`、`$2` ... 读取第 1 个参数、第 2 个参数。。。 - ### 8.2. 函数处理参数 另外,还有几个特殊字符用来处理参数: @@ -1645,7 +1644,7 @@ $ ./my_script 有时我们值需要 debug 脚本的一部分。这种情况下,使用`set`命令会很方便。这个命令可以启用或禁用选项。使用`-`启用选项,`+`禁用选项: -**:keyboard: 『示例源码』** [debug-demo.sh](https://github.com/dunwu/os-tutorial/blob/master/codes/shell/demos/statement/debug-demo.sh) +**:keyboard: 『示例源码』** [debug-demo.sh](https://github.com/dunwu/os-tutorial/blob/master/codes/shell/demos/debug-demo.sh) ```bash # 开启 debug