Skip to content

Commit

Permalink
doc: update command/figlet.md #576
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 8, 2024
1 parent f9babe1 commit 9b2d0a2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions command/fgrep.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ fgrep 命令于 grep 和 egrep 命令不同,因为它搜索字符串而不是
6. 输入文件应该以换行字符结尾。
7. 虽然可以同时指定很多标志,但某些标志会覆盖其余的标志。例如,如果同时指定 -l 和 -n ,只有文件名写入到标准输出中去。

### 语法
### 语法

```shell
fgrep(选项)(参数)
```

### 选项
### 选项

```shell
-b:在找到的每行之前添加行所在的块编号。使用此标志有助于按照上下文查找磁盘块号码。-b 标志不能用于标准输入或者管道输入。
Expand Down
14 changes: 7 additions & 7 deletions command/figlet.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 是需要转换的字符串。
Expand Down

0 comments on commit 9b2d0a2

Please sign in to comment.