📄 coginstall
字号:
#! /usr/local/bin/perlif($ENV{"COG_HOME"}){ $cog = $ENV{"COG_HOME"};}else{ print "Set the variable COG_HOME to the directory with COG source code"; exit;}if($ENV{"COG_WORK"}){ $cogw = $ENV{"COG_WORK"};}else{ print "Set the variable COG_WORK to a working directory for COG test examples"; exit;}if($ENV{"COG_CONFIG"}){}else{ print "Set the variable COG_CONFIG so that there exists a file named$cog/config/\$(COG_CONFIG).mkSee $cog/install.html for more."; exit;}system "cp -f $cog/cog.mk $cog/Makefile;cd $cog;make install;";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -