Word Art In Bash

Figlet:

 

 /usr/share/figlet 下存放字体 suffix: tlf | flf

  1. showfigfonts -d directory word

  2. figlet -f banner word 选择输出字体

  3. Control smushing 调整字体间隙

  4. 控制输出位置

  5. 控制输出宽度, 会影响上述输出位置

     -t 指定outputwidth 为terminal width, -w 80 (default)

    -w1 为特殊选项, 效果为每个字符一行

  6. 控制换行

  7. 查看info


  8. 控制反序输出

toilet:

  1. Below options like figlet

     

     

  2. --filter

     

     

     

  3. --export 

     

     

     

Banner:

  1. banner text

boxes:

  1. -a string 调整string位置

     

     

  2. boxes -l List designs查看预置design
  3. -p string 定义padding 

     

     

     

     

  4. -s widthxheight

     

     

     

     

cowsay:

  1. -n 

     

     

  2. 差别不大的选项

     

     

     

     

  3. -e 眼睛字符 -T tongue字符

     

     

  4. -f  cowfile /usr/share/cowsay/cows
    cowsay -l 查看可用cowfile

     

     

  5. -W 控制换行

     

     

posted @ 2022-01-22 19:58  ascertain  阅读(36)  评论(0编辑  收藏  举报