Skip to content

Commit 5c0c71b

Browse files
Update condition.md
删除对 `-a` 选项的描述
1 parent 45d093a commit 5c0c71b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/condition.md

-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ fi
156156

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

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

0 commit comments

Comments
 (0)