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

📄 mailhome.sh

📁 COOOL:CWP面向对象最优化库(CWP Object Oriented Optimization Library) COOOL是C++类的一个集合
💻 SH
字号:
#! /bin/sh# mailhome.sh - send a message back to CWP # adoped from mailhome.sh by John Stockwell, at CWP. Thanks, John!######################################################################  H.L. Deng, 16 Feb., 1996# Center for Wave Phenomena#####################################################################set -x# these items identify the date/release of the codesDATE="16 Feb. 1995"RELEASE="1.1"# home addressADDRESS="hdeng@dix.mines.edu"# messageMESSAGE="Installing the $DATE version (Release ${RELEASE}) of the COOOL."echoechoecho "######################"echo "######################"echoechoecho "To give us an idea of who uses our codes"echo "the master Makefile will email the following message:"echoecho " \"${MESSAGE}\" "echoecho "to: \"${ADDRESS}\" "echoechoechoecho "You will then be put on our CWP/OPTIMA mailing list"echo "and will be informed of future updates of the COOOL codes."echoechoecho "However, if you would rather not have this message sent"echo "you may specify this as your response to the next query."echoechoecho -n "Send automatic mail message back to CWP/OPTIMA?[y/n]"read RESP case $RESP in	y*|Y*) # continue		echo "$MESSAGE" | mail $ADDRESS	;;	*) # don't send the message		echo "Continuing without sending the mailing."	;;		esacexit 0

⌨️ 快捷键说明

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