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

📄 makewhatis.bsd

📁 这是一款很好用的工具包
💻 BSD
字号:
#!/bin/sh -## Copyright (c) 1980 Regents of the University of California.# All rights reserved.  The Berkeley software License Agreement# specifies the terms and conditions for redistribution.##	@(#)makewhatis.sh 1.13 89/06/15 SMI; from UCB 5.3 3/29/86#trap "rm -f /tmp/whatisx.$$ /tmp/whatis$$; exit 1" 1 2 13 15MANDIR=${1-/usr/man}rm -f /tmp/whatisx.$$ /tmp/whatis$$if test ! -d $MANDIR ; then exit 0 ; ficd $MANDIRtop=`pwd`for i in man1 man2 man3 man4 man5 man6 man7 man8 mann manldo	if [ -d $i ] ; then		cd $i	 	if test "`echo *.*`" != "*.*" ; then			/usr/lib/getNAME *.*		fi		cd $top	fidone >/tmp/whatisx.$$sed  </tmp/whatisx.$$ >/tmp/whatis$$ \	-e 's/\\-/-/' \	-e 's/\\\*-/-/' \	-e 's/ VAX-11//' \	-e 's/\\f[PRIB0123]//g' \	-e 's/\\s[-+0-9]*//g' \	-e '/ - /!d' \	-e 's/.TH [^ ]* \([^ 	]*\).*	\(.*\) -/\2 (\1)	 -/' \	-e 's/	 /	/g'/usr/bin/expand -24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100 \	/tmp/whatis$$ | sort | /usr/bin/unexpand -a > whatischmod 644 whatis >/dev/null 2>&1rm -f /tmp/whatisx.$$ /tmp/whatis$$exit 0

⌨️ 快捷键说明

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