2020-07-08 14:16:23 +01:00
|
|
|
# banner
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
> 将给定参数输出为大型 ASCII 文字。
|
2021-03-30 11:35:09 +01:00
|
|
|
> 更多信息: <https://man.archlinux.org/man/banner.1>.
|
2020-07-08 14:16:23 +01:00
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 将文字信息打印为大横幅(引号是可选的):
|
2020-07-08 14:16:23 +01:00
|
|
|
|
2020-10-04 18:33:38 +01:00
|
|
|
`banner "{{Hello World}}"`
|
2020-07-08 14:16:23 +01:00
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 将文字信息打印为横幅,宽度为 50 个字:
|
2020-07-08 14:16:23 +01:00
|
|
|
|
2020-10-04 18:33:38 +01:00
|
|
|
`banner -w {{50}} "{{Hello World}}"`
|
2020-07-08 14:16:23 +01:00
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 从 stdin 中读取文本:
|
2020-07-08 14:16:23 +01:00
|
|
|
|
|
|
|
`banner`
|