这个reademe是CMU的,我就不动了,有更加具体的我的思路在shell-lab.md里面,如果觉得看起来不太舒服的话,我还生成了一个shell-lab.pdf可以看那里面的。原来也不是md文件的,只是为了让我的标题更加显眼一点。具体的代码全在tsh.c里面。
#####################################################################
######################################################################
This directory contains the files you will need for the CS:APP Shell Lab.
tsh.c This is the file you will be modifying and handing in.
#########################################
######################################### tshref* This is the reference shell executable
sdriver.c The shell driver source program
runtrace.c The trace interpreter source program
trace{00-30}.txt Trace files used by the driver
config.h Header file for sdriver.c
mycat.c myenv.c myhup.c myintp.c myints.c myspin1.c myspin2.c mysplit.c mysplitp.c mytstpp.c mytstps.c myterm1.c myterm2.c myterm3.c These are helper programs that are referenced in the trace files.
Makefile: This is the makefile that builds the driver program.