Skip to content

Commit

Permalink
Update condition.md
Browse files Browse the repository at this point in the history
删除对 `-a` 选项的描述
  • Loading branch information
fanofxiaofeng authored Nov 26, 2024
1 parent 45d093a commit 5c0c71b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/condition.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ fi

以下表达式用来判断文件状态。

- `[ -a file ]`:如果 file 存在,则为`true`
- `[ -b file ]`:如果 file 存在并且是一个块(设备)文件,则为`true`
- `[ -c file ]`:如果 file 存在并且是一个字符(设备)文件,则为`true`
- `[ -d file ]`:如果 file 存在并且是一个目录,则为`true`
Expand Down

0 comments on commit 5c0c71b

Please sign in to comment.