importenv.pl

来自「MSYS在windows下模拟了一个类unix的终端」· PL 代码 · 共 17 行

PL
17
字号
;# $RCSfile: importenv.pl,v $$Revision: 4.1 $$Date: 92/08/07 18:24:02 $;# This file, when interpreted, pulls the environment into normal variables.;# Usage:;#	require 'importenv.pl';;# or;#	#include <importenv.pl>local($tmp,$key) = '';foreach $key (keys(%ENV)) {    $tmp .= "\$$key = \$ENV{'$key'};" if $key =~ /^[A-Za-z]\w*$/;}eval $tmp;1;

⌨️ 快捷键说明

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