⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 manview.sh

📁 Shall高级编程
💻 SH
字号:
#!/bin/bash# manview.sh: Formats the source of a man page for viewing.#  This script is useful when writing man page source.#  It lets you look at the intermediate results on the fly#+ while working on it.E_WRONGARGS=65if [ -z "$1" ]then  echo "Usage: `basename $0` filename"  exit $E_WRONGARGSfi# ---------------------------groff -Tascii -man $1 | less# From the man page for groff.# ---------------------------#  If the man page includes tables and/or equations,#+ then the above code will barf.#  The following line can handle such cases.##   gtbl < "$1" | geqn -Tlatin1 | groff -Tlatin1 -mtty-char -man##   Thanks, S.C.exit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -