COP4342 - Spring 2007

Assignment #2: NWS Text Formatting

Objectives: Learn how to assign values to shell variables, read values into shell variables, and use the sed, grep, and tr Unix utilities, and redirect output.

Assignment: PDF


Sample Input FileCorresponding Sample Output File
advisory.txt advisory.txt.out
advisory.txt-2 advisory.txt-2.out
discussion.txt discussion.txt.out
outlook.txt outlook.txt.out
summary.txt summary.txt.out
technical_advisory.txt-2 technical_advisory.txt-2.out

Solution (shell script)

Hints file

Sample Grading File