文件名称:myshell3
- 所属分类:
- Linux/Unix编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 5kb
- 下载次数:
- 0次
- 提 供 者:
- 雯*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
实验要求:在Myshell系列实验之二的基础上,增加下列功能:
1根据接收控制台命令,如包含’>’符号,则进行输出重定向到文件,如: ls /home/mydir > mylist.txt
2根据接收控制台命令,如包含’<’符号,则进行输入重定向到文件,如: sort < mylist.txt
3根据接收控制台命令,如包含’>’和’>’符号,则进行输入输出重定
-Experimental requirements: The second series of experiments in Myshell basis, add the following features: 1 under the receiver console commands, such as including ' > ' symbols, the output will be redirected to the file, such as: ls/home/mydir> mylist.txt 2 of the receiving console commands, such as containing ' < ' " sign, then redirect to a file for input, such as: sort < mylist.txt 3 console, according to the received commands, such as including ' > ' and ' > ' symbol, then for input output-set
1根据接收控制台命令,如包含’>’符号,则进行输出重定向到文件,如: ls /home/mydir > mylist.txt
2根据接收控制台命令,如包含’<’符号,则进行输入重定向到文件,如: sort < mylist.txt
3根据接收控制台命令,如包含’>’和’>’符号,则进行输入输出重定
-Experimental requirements: The second series of experiments in Myshell basis, add the following features: 1 under the receiver console commands, such as including ' > ' symbols, the output will be redirected to the file, such as: ls/home/mydir> mylist.txt 2 of the receiving console commands, such as containing ' < ' " sign, then redirect to a file for input, such as: sort < mylist.txt 3 console, according to the received commands, such as including ' > ' and ' > ' symbol, then for input output-set
(系统自动生成,下载前可以参看下载内容)
下载文件列表
a.out
myshellv0.3.c
myshellv0.3.c