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

📄 exec.t

📁 早期freebsd实现
💻 T
字号:
#!./perl# $Header: exec.t,v 4.0 91/03/20 01:52:25 lwall Locked $$| = 1;				# flush stdoutprint "1..8\n";print "not ok 1\n" if system "echo ok \\1";	# shell interpretedprint "not ok 2\n" if system "echo ok 2";	# split and directly calledprint "not ok 3\n" if system "echo", "ok", "3"; # directly calledif (system "true") {print "not ok 4\n";} else {print "ok 4\n";}if ((system "/bin/sh -c 'exit 1'") != 256) { print "not "; }print "ok 5\n";if ((system "lskdfj") == 255 << 8) {print "ok 6\n";} else {print "not ok 6\n";}unless (exec "lskdjfalksdjfdjfkls") {print "ok 7\n";} else {print "not ok 7\n";}exec "echo","ok","8";

⌨️ 快捷键说明

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