docs: 添加MacOS操作系统的搜索命令

Signed-off-by: zjzjzjzj1874 <zjzjzjzj1874@gmail.com>
pull/5920/head
zjzjzjzj1874 2025-01-13 11:01:33 +08:00
parent 620912242b
commit d6aa96f288
No known key found for this signature in database
GPG Key ID: E49495B2F3E1C7F5
1 changed files with 6 additions and 0 deletions

View File

@ -18,12 +18,18 @@
```bash
$ grep -nri [搜索词] docs | cat --number
# on macos(macos使用单横线选项)
$ grep -nri [搜索词] docs | cat -n
```
比如,搜索 CSS 相关内容。
```bash
$ grep -nri css docs | cat --number
# on macos
$ grep -nri css docs | cat -n
```
## 2025