📄 ontrip.sh
字号:
: run this script through /bin/shdb=rcvtrip draftf=drafts field=advised form=tripcomps pgm=bin/rcvtripif [ -x $HOME/$pgm ];then echo "This is ontrip, for MH.6"else echo "Script $pgm is not present in your HOME directory" 1>&2 exit 1fifile=`mhpath +`/$formif [ -f $file ];then if [ "x$EDITOR" = x ]; then echo "Please edit the reply template:" echo "You are now in the editor 'ex'" ex $file else $EDITOR $file fielse echo "Reply template $form is not present in your MH directory" 1>&2 exit 1fifolder=`mhpath +$db`if [ -d $folder ];then echo "Resetting database +$db" rmm +$db all > /dev/null 1>&2else folder +$dbfitouch $folder/1echo "Now add the line addr $USER pipe R \"$pgm \\\"\$(reply-to)\\\"\"to the end of the .maildelivery file in your HOME directory"exit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -