linux Figlet 转换字符字

前言

  • CentOS Linux release 8.5.2111

安装

shell> yum install -y figlet

转换字符字

shell> figlet WELCOME
__        _______ _     ____ ___  __  __ _____ 
\ \      / / ____| |   / ___/ _ \|  \/  | ____|
 \ \ /\ / /|  _| | |  | |  | | | | |\/| |  _|  
  \ V  V / | |___| |__| |__| |_| | |  | | |___ 
   \_/\_/  |_____|_____\____\___/|_|  |_|_____|
shell> figlet TEST
 _____ _____ ____ _____ 
|_   _| ____/ ___|_   _|
  | | |  _| \___ \ | |  
  | | | |___ ___) || |  
  |_| |_____|____/ |_|  

不换行

shell> figlet WELCOME TO CLOUD.TENCENT -w200
__        _______ _     ____ ___  __  __ _____   _____ ___     ____ _     ___  _   _ ____ _____ _____ _   _  ____ _____ _   _ _____ 
\ \      / / ____| |   / ___/ _ \|  \/  | ____| |_   _/ _ \   / ___| |   / _ \| | | |  _ \_   _| ____| \ | |/ ___| ____| \ | |_   _|
 \ \ /\ / /|  _| | |  | |  | | | | |\/| |  _|     | || | | | | |   | |  | | | | | | | | | || | |  _| |  \| | |   |  _| |  \| | | |  
  \ V  V / | |___| |__| |__| |_| | |  | | |___    | || |_| | | |___| |__| |_| | |_| | |_| || | | |___| |\  | |___| |___| |\  | | |  
   \_/\_/  |_____|_____\____\___/|_|  |_|_____|   |_| \___/   \____|_____\___/ \___/|____(_)_| |_____|_| \_|\____|_____|_| \_| |_| 
上一篇:VS2015下解决:无法解析的外部符号___vsnprintf


下一篇:计算机操作系统 第一章 操作系统引论 习题