The purpose of this assignment is for students to become comfortable with basic commands, documentation, file redirection – i.e. the bash shell), a Unix editor, the Unix file system using

The purpose of this assignment is for students to become comfortable with basic commands, documentation, file redirection – i.e. the bash shell), a Unix editor, the Unix file system using Unix filters (including Awk) to solve text processing problems. Your task is to recurse through a subtree of the filesystem and put a file called in each directory. You will pull data from 2 sources: the directory itself, and a file that appear in each directory called . You will write a script (or, scripts) that will take an optional argument, the directory to process. If not argument is supplied, use the current directory. In each subdirectory (including the top-level directory on which the script was called) you will place a file called . If it already exists, simply overwrite it. Do include it as one of the files listed. The root element will be direntry. It may contain up to 3 child nodes: index, required, and other. These three elements will contain text elements, either of type file or dir. Index and required data will be harvested from README (use AWK to parse this file). Other files will be found by taking a listing of the directory, looking for files or directories that weren’t listed in README.

Do you need us to help you on this or any other assignment?


Make an Order Now