当bash脚本运行时,人们是如何制作精美的标题的
如何使bash脚本有一个很酷的标题 目前,我只是使用echo为我的脚本命名为arg cliccker 而不是一条无聊的线 如何制作fnacy bash sript徽标 如下所示:当bash脚本运行时,人们是如何制作精美的标题的,bash,title,Bash,Title,如何使bash脚本有一个很酷的标题 目前,我只是使用echo为我的脚本命名为arg cliccker 而不是一条无聊的线 如何制作fnacy bash sript徽标 如下所示: 看看tput命令tput用于改变端子特性 e、 g 有一些网站可以做到这一点。 请访问此网站: 尝试安装“盒子”-从手册页: 描述框是一个文本过滤器,可以绘制任何类型的框 围绕其输入文本。盒子设计的选择范围从简单的盒子到 复杂的艺术。一个盒子也可以被移除和修复,即使它 已被内部文本的编辑严重损坏。从五月起 在任何一边都
看看
tput
命令tput
用于改变端子特性
e、 g
有一些网站可以做到这一点。 请访问此网站:
尝试安装“盒子”-从手册页: 描述框是一个文本过滤器,可以绘制任何类型的框 围绕其输入文本。盒子设计的选择范围从简单的盒子到 复杂的艺术。一个盒子也可以被移除和修复,即使它 已被内部文本的编辑严重损坏。从五月起 在任何一边都可以打开,长方体也可以用来创建区域 任何编程语言中的注释。各种各样的新盒子设计 可以通过附加到自由格式轻松添加和共享 配置文件。盒子最初打算与 vim(1)文本编辑器,但它可以绑定到任何 支持过滤器,以及从命令行作为 独立工具
$box-h
框-在文本周围绘制任何类型的框(并将其删除)
(c) 托马斯·詹森
网页:http://boxes.thomasjensen.com/
用法:框[选项][填充[输出文件]]
-框内文本的fmt对齐/定位[默认值:hlvt]
-c str采用单形盒设计,其中str为W形
-d名称框设计[默认:文件中的第一个]
-f文件配置文件
-h打印使用信息
-i模式缩进模式[默认值:框]
-k bool删除时的前导/尾随空行保留
-列出可用的盒子设计和样品
-m修补盒子,即移除盒子,然后重新绘制
-p fmt填充[默认值:无]
-拆下盒子
-s wxh盒尺寸(宽度w和/或高度h)
-t str选项卡停止距离和扩展[默认值:8e]
-v打印版本信息
:)戴尔退房。
tput bold
tput setaf 3
tput setab 4
tput reset
$ boxes -h
boxes - draws any kind of box around your text (and removes it)
(c) Thomas Jensen <boxes@thomasjensen.com>
Web page: http://boxes.thomasjensen.com/
Usage: boxes [options] [infile [outfile]]
-a fmt alignment/positioning of text inside box [default: hlvt]
-c str use single shape box design where str is the W shape
-d name box design [default: first one in file]
-f file configuration file
-h print usage information
-i mode indentation mode [default: box]
-k bool leading/trailing blank line retention on removal
-l list available box designs w/ samples
-m mend box, i.e. remove it and redraw it afterwards
-p fmt padding [default: none]
-r remove box
-s wxh box size (width w and/or height h)
-t str tab stop distance and expansion [default: 8e]
-v print version information