Skip to content

Commit 9e6450f

Browse files
authoredNov 27, 2024··
Merge pull request #87 from fanofxiaofeng/patch-1
Update condition.md
2 parents 45d093a + 5c0c71b commit 9e6450f

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)
Please sign in to comment.