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

📄 checkgroups

📁 早期freebsd实现
💻
字号:
#! /bin/sh##  $Revision: 1.13 $##  Checkgroups control-message handler.PROG=checkgroups##  Some shells don't pass in $* unless we explicitly pass it in here.##  =()<. @<_PATH_PARSECTL>@ "$@">()=. /var/spool/news/data/parsecontrol "$@"case ${ACTION} inmail)    export FROM CONTROLPROGS NEWSUSER ARTICLE    (	echo "${FROM} posted the following checkgroups message:"	${SED} -e '/^$/q' -e 's/^/    /' <${ARTICLE}	echo ''	echo 'If you want to process it, then feed the body of the'	echo 'message into docheckgroups while running as the'	echo "\"${NEWSUSER}\" userid:"	echo ''	echo "${CONTROLPROGS}/docheckgroups <<-EOF-"	${SED} -e '1,/^$/d' <${ARTICLE}	echo '-EOF-'    ) | ${MAILCMD} -s "checkgroups by ${FROM}" ${NEWSMASTER}    ;;doit)    ${SED} -e '1,/^$/d' <${ARTICLE} \	| ${CONTROLPROGS}/docheckgroups \	| ${WRITELOG} ${LOGFILE} "checkgroups by ${FROM}"    ;;esacexit

⌨️ 快捷键说明

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