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

📄 nroff.sh

📁 早期freebsd实现
💻 SH
字号:
#!/bin/sh# Emulate nroff with groff.prog="$0"# Default device.T=-Tasciiopts=for ido	case $1 in	-h)		opts="$opts -P-h"		;;	-[eq]|-s*)		# ignore these options		;;	-[mrnoT])		echo "$prog: option $1 requires an argument" >&2		exit 1		;;	-i|-[mrno]*)		opts="$opts $1";		;;	-Tascii|-Tlatin1)		T=$1		;;	-T*)		# ignore other devices		;;	--)		shift		break		;;	-)		break		;;	-*)		echo "$prog: invalid option $1" >&2		exit 1		;;	*)		break		;;	esac	shiftdone# This shell script is intended for use with man, so warnings are# probably not wanted.  Also load nroff-style character definitions.exec groff -Wall -mtty-char $T $opts ${1+"$@"}

⌨️ 快捷键说明

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