doc: update command/figlet.md #576

This commit is contained in:
jaywcjlove 2024-05-08 08:04:10 +08:00
parent f9babe1e80
commit 9b2d0a2da4
2 changed files with 9 additions and 9 deletions

View File

@ -17,13 +17,13 @@ fgrep 命令于 grep 和 egrep 命令不同,因为它搜索字符串而不是
6. 输入文件应该以换行字符结尾。
7. 虽然可以同时指定很多标志,但某些标志会覆盖其余的标志。例如,如果同时指定 -l 和 -n ,只有文件名写入到标准输出中去。
### 语法
### 语法
```shell
fgrep(选项)(参数)
```
### 选项
### 选项
```shell
-b在找到的每行之前添加行所在的块编号。使用此标志有助于按照上下文查找磁盘块号码。-b 标志不能用于标准输入或者管道输入。

View File

@ -3,32 +3,32 @@ figlet
字符串转为 “字画符”。
## 补充说明
将普通字符串转为有简单字符拼接而成的 “字画符”。
## 安装
+ Ubuntu 等系统
Ubuntu 等系统
```shell
apt-get update
apt-get install -y figlet
```
+ CentOS 等系统
CentOS 等系统
```shell
yum install epel-release
yum install -y figlet
```
## 概要
## 语法
```shell
figlet [ message ] [ -option ]
```
## 主要用途
- 将普通字符串转为有简单字符拼接而成的 “字画符”。
## 参数
message 是需要转换的字符串。