亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sdriver.pl.svn-base

?? os project / shell 程序
?? SVN-BASE
字號:
#!/usr/bin/perl#!/usr/local/bin/perluse Getopt::Std;use FileHandle;use IPC::Open2;######################################################################## sdriver.pl - Shell driver## Copyright (c) 2002, R. Bryant and D. O'Hallaron, All rights reserved.# May not be used, modified, or copied without permission.## The driver runs a student's shell program as a child, sends # commands and signals to the child as directed by a trace file,# and captures and displays the output produced by the child.## Tracefile format:# # The tracefile consists of text lines that are either blank lines,# comment lines, driver commands, or shell commands. Blank lines are# ignored. Comment lines begin with "#" and are echo'd without change # to stdout. Driver commands are intepreted  by the driver and are not # passed to the child shell. All other lines are shell commands and# are passed without modification to the shell, which reads them on# stdin. Output produced by the child on stdout/stderr is read by # the parent and printed on its stdout.## Driver commands:#     TSTP        Send a SIGTSTP signal to the child#     INT         Send a SIGINT signal to the child #     QUIT        Send a SIGQUIT signal to the child#     KILL        Send a SIGKILL signal to the child#     CLOSE       Close Writer (sends EOF signal to child)#     WAIT        Wait() for child to terminate#     SLEEP <n>   Sleep for <n> seconds# ######################################################################## usage - print help message and terminate#sub usage {    printf STDERR "$_[0]\n";    printf STDERR "Usage: $0 [-hv] -t <trace> -s <shellprog> -a <args>\n";    printf STDERR "Options:\n";    printf STDERR "  -h            Print this message\n";    printf STDERR "  -v            Be more verbose\n";    printf STDERR "  -t <trace>    Trace file\n";    printf STDERR "  -s <shell>    Shell program to test\n";    printf STDERR "  -a <args>     Shell arguments\n";    printf STDERR "  -g            Generate output for autograder\n";    die "\n" ;}# Parse the command line argumentsgetopts('hgvt:s:a:');if ($opt_h) {    usage();}if (!$opt_t) {    usage("Missing required -t argument");}if (!$opt_s) {    usage("Missing required -s argument");}$verbose = $opt_v;$infile = $opt_t;$shellprog = $opt_s;$shellargs = $opt_a;$grade = $opt_g;# Make sure the input script exists and is readable-e $infile    or die "$0: ERROR: $infile not found\n";-r $infile    or die "$0: ERROR: $infile is not readable\n";# Make sure the shell program exists and is executable-e $shellprog    or die "$0: ERROR: $shellprog not found\n";-x $shellprog    or die "$0: ERROR: $shellprog is not executable\n";# Open the input scriptopen INFILE, $infile    or die "$0: ERROR: Couldn't open input file $infile: $!\n";# # Fork a child, run the shell in it, and connect the parent# and child with a pair of unidirectional pipes: #     parent:Writer -> child:stdin#     child:stdout  -> parent:Reader#$pid = open2(\*Reader, \*Writer, "$shellprog $shellargs");Writer->autoflush();# The autograder will want to know the child shell's pidif ($grade) {    print ("pid=$pid\n");}# # Parent reads a trace file, sends commands to the child shell. #while (<INFILE>) {    $line = $_;    chomp($line);    # Comment line    if ($line =~ /^#/) {  	print "$line\n";    }    # Blank line    elsif ($line =~ /^\s*$/) { 	if ($verbose) {	    print "$0: Ignoring blank line\n";	}    }    # Send SIGTSTP (ctrl-z)    elsif ($line =~ /TSTP/) {	if ($verbose) {	    print "$0: Sending SIGTSTP signal to process $pid\n";	}	kill 'TSTP', $pid;    }    # Send SIGINT (ctrl-c)    elsif ($line =~ /INT/) {	if ($verbose) {	    print "$0: Sending SIGINT signal to process $pid\n";	}	kill 'INT', $pid;    }    # Send SIGQUIT (whenever we need graceful termination)    elsif ($line =~ /QUIT/) {	if ($verbose) {	    print "$0: Sending SIGQUIT signal to process $pid\n";	}	kill 'QUIT', $pid;    }    # Send SIGKILL     elsif ($line =~ /KILL/) {	if ($verbose) {	    print "$0: Sending SIGKILL signal to process $pid\n";	}	kill 'KILL', $pid;    }    # Close pipe (sends EOF notification to child)    elsif ($line =~ /CLOSE/) {	if ($verbose) {	    print "$0: Closing output end of pipe to child $pid\n";	}	close Writer;    }    # Wait for child to terminate    elsif ($line =~ /WAIT/) {	if ($verbose) {	    print "$0: Waiting for child $pid\n";	}	wait;	if ($verbose) {	    print "$0: Child $pid reaped\n";	}    }    # Sleep    elsif ($line =~ /SLEEP (\d+)/) {	if ($verbose) {	    print "$0: Sleeping $1 secs\n";	}	sleep $1;    }    # Unknown input    else {	if ($verbose) {	    print "$0: Sending :$line: to child $pid\n";	}	print Writer "$line\n";    }}# # Parent echoes the output produced by the child.#close Writer;if ($verbose) {    print "$0: Reading data from child $pid\n";}while ($line = <Reader>) {    print $line;}close Reader;# Finally, parent reaps childwait;if ($verbose) {    print "$0: Shell terminated\n";}exit;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆久久久久久久| 亚洲一区二区在线观看视频| 日韩一区二区三区免费看 | 日韩一区二区免费电影| 欧美欧美欧美欧美| 日韩三级视频在线观看| 日韩亚洲欧美在线| 精品乱码亚洲一区二区不卡| 欧美电影免费观看完整版| 欧美成人猛片aaaaaaa| 久久一区二区三区国产精品| 国产日韩精品一区二区三区在线| 中国色在线观看另类| 亚洲成人动漫在线免费观看| 天天操天天综合网| 成人夜色视频网站在线观看| 色天使久久综合网天天| 日韩免费看的电影| **欧美大码日韩| 日韩欧美黄色影院| 制服丝袜国产精品| 国产精品国模大尺度视频| 亚洲一区二区三区在线| 国模一区二区三区白浆| 91麻豆免费视频| 国产亚洲精品免费| 午夜视频在线观看一区二区| 国产精品自拍三区| 欧美一区二区三区在线看| ...av二区三区久久精品| 久久国产尿小便嘘嘘| 欧美性猛交xxxx乱大交退制版 | 亚洲天堂福利av| 丁香一区二区三区| 精品国产乱码久久久久久夜甘婷婷 | 国产精品色婷婷| 国内外精品视频| 精品免费99久久| 精品一区二区免费在线观看| 欧美区在线观看| 日日欢夜夜爽一区| 欧美视频一区在线| 五月综合激情日本mⅴ| 一本色道**综合亚洲精品蜜桃冫| 日本一区二区三级电影在线观看| 伦理电影国产精品| www激情久久| 成人精品亚洲人成在线| 国产精品久久久久久久久果冻传媒| 国产一区二区三区在线看麻豆| 精品国产成人系列| 国产成人三级在线观看| 精品国产乱码久久久久久牛牛| 亚洲国产精品久久一线不卡| 欧美人成免费网站| 亚洲视频图片小说| 国产不卡在线播放| 亚洲人吸女人奶水| 欧美精品一二三| 国产69精品久久久久777| 日韩一区在线看| 欧美肥胖老妇做爰| a亚洲天堂av| 日韩电影免费一区| 亚洲天堂精品视频| 欧美成人a视频| 色婷婷综合久色| 国产精品一区二区视频| 亚洲另类春色国产| 国产日韩亚洲欧美综合| 欧美少妇一区二区| 国产精品亚洲一区二区三区妖精 | 91.xcao| 97国产一区二区| 国产成人免费9x9x人网站视频| 亚洲青青青在线视频| 国产日韩欧美精品在线| 日韩午夜三级在线| 91麻豆精品国产91| 欧美色大人视频| 91国偷自产一区二区三区成为亚洲经典 | 爽好多水快深点欧美视频| 亚洲精品videosex极品| 国产精品二三区| 亚洲三级免费观看| 国产精品久久久久久久蜜臀| 久久男人中文字幕资源站| 欧美va亚洲va在线观看蝴蝶网| 在线视频国产一区| 91片在线免费观看| 一本久道久久综合中文字幕| 91蝌蚪porny成人天涯| 欧美系列亚洲系列| 国产一区二区在线观看免费| 午夜精品视频一区| 蜜桃一区二区三区在线| 国产一区二区不卡在线| 国产精品白丝jk白祙喷水网站| 国产成人午夜电影网| 91日韩在线专区| 69堂成人精品免费视频| 日韩久久久久久| 亚洲欧美一区二区久久| 亚洲成人手机在线| 国产在线精品一区二区夜色| 国产成人在线观看免费网站| www.久久久久久久久| 91精品国产综合久久小美女| 国产色一区二区| 亚洲妇熟xx妇色黄| 国产91在线观看| 欧美日韩电影一区| 中文无字幕一区二区三区| 亚洲午夜电影在线观看| 国产成人精品网址| 日韩一区二区三区免费看| 亚洲美女屁股眼交| 粉嫩嫩av羞羞动漫久久久| 欧美一区二区三区视频免费 | 丰满亚洲少妇av| 这里是久久伊人| 亚洲免费av观看| 成人黄色片在线观看| 国产喂奶挤奶一区二区三区| 日韩精品91亚洲二区在线观看| 9l国产精品久久久久麻豆| 精品免费日韩av| 国产呦萝稀缺另类资源| 欧美一级片在线| 免费成人在线影院| 日韩免费看的电影| 九九国产精品视频| 久久理论电影网| 国产一区在线观看视频| 久久综合色一综合色88| 国产一区欧美一区| 国产亚洲精久久久久久| 日韩国产精品久久| 99久久伊人网影院| 亚洲午夜羞羞片| 欧美乱妇15p| 国内精品写真在线观看 | 日日夜夜免费精品| 欧美人牲a欧美精品| 日本免费新一区视频| 欧美xxxxx牲另类人与| 国模冰冰炮一区二区| 欧美国产日韩精品免费观看| 99热99精品| 蜜臀av一区二区在线免费观看| 久久久五月婷婷| 91麻豆免费观看| 久久精品国产色蜜蜜麻豆| 国产女主播一区| 56国语精品自产拍在线观看| 国产xxx精品视频大全| 日韩中文字幕区一区有砖一区| 精品国产一区二区三区久久影院 | 中文字幕一区二区三区在线不卡 | 午夜久久久久久久久| 2021久久国产精品不只是精品| 91亚洲国产成人精品一区二区三| 无吗不卡中文字幕| 日韩美女视频一区| 国产亚洲一区二区在线观看| 欧美日韩国产免费| 91亚洲精品久久久蜜桃网站 | 久久精品日产第一区二区三区高清版 | 国产一区二区三区高清播放| 亚洲国产成人精品视频| 国产精品天美传媒| 日韩情涩欧美日韩视频| 在线观看av一区二区| 欧美亚洲自拍偷拍| 欧美三区在线视频| 欧美专区在线观看一区| 99国产精品久| 色婷婷综合久久久久中文一区二区 | 国产精品伦理一区二区| 久久日韩精品一区二区五区| 精品国产露脸精彩对白| 久久久久久久久久看片| 欧美本精品男人aⅴ天堂| 久久亚洲精品小早川怜子| 久久久欧美精品sm网站| 国产欧美精品在线观看| 国产精品不卡视频| 一区二区三区丝袜| 日本不卡免费在线视频| 国内久久婷婷综合| 国产不卡视频在线播放| 色婷婷综合久久久久中文一区二区| 在线观看国产91| 久久综合久久久久88| 欧美韩国一区二区| 一区二区激情视频| 国产美女精品人人做人人爽| 99麻豆久久久国产精品免费| 欧美卡1卡2卡| 亚洲欧洲色图综合|