[5 pts] Implement I/O redirection in your shell from
assignment three. Use the following
format
ee +{eio} filename progname args
+e filename sends standard error to filename.
+o filename sends standard out to filename.
+i filename reads from filename for standard in.
ee +p prog1 arg1 ... argn : prog2 arg1 ... argn
send standard out of prog1 to the standard in of prog2.
[5 pts] A program needs to used a temporary file. Discuss how this can
be done. Give a rational for your solution. Provide an example
of your solution in c.
[5 pts] Discuss the difference between a standard and a convention.
Give an example of each that relates to the material in this class.
[5 pts] Describe in low level pseudo-code how the system utility find
could be implemented. Discuss how the following options can be implemented:
-exec
-newer
-user
-perm
[5 pts] Create a system that will create a html file that lists all of
the users on aegis who have accessible home pages, and provides a link to
those pages.
[5 pts] Compare and contrast perl and C as systems programming tools.
[5 pts] Create a utility command that, given a directory containing
source code, data files, and possibly a Makefile, will create a web page
with links to all of the files in the directory. Your routine should do a
make clean if a makefile exists before creating the web page. Please
handle the following command line arguements.
-d description A description of the contents of the directory.
Use this for the title of the page and an entry in a reference page if needed.
-r file Provide a reference to the page you create in
file. Use the description if one is given.
-t Place file creation time in the index file.
Please use my example pages and the master example list as motivation for this
problem.