December 2nd, 2003, 08:11 AM
Join Date: Nov 2003
Time spent in forums: < 1 sec
Reputation Power: 0
using cat to create a shell script
Write ONE shell script to ease and simplify the use of the cat utility.
The result should be in effect your own version of a utility with a new name and very possibly a subset of the potential operations of the original.
The emphasis here should be on providing powerful facilities, which are straightforward to use and provide full error checking with clear diagnostics.
a transcript of a terminal session demonstrating your command's
execution and use (in other words, your transcript has to present testing all important cases of usage
of the utility).
1) to create your script for the command mentioned;
2) to produce an easy to follow interface into the command;
3) to obtain command details from the user in a helpful way;
4) to demonstrate that your script works;
5) to use a loop from which the user can exit;
6) to use meaningful variable names and commenting.
– requirements written in the plain English;
– requirements specification including diagrams in any
form: DFD, UML use case, etc.;
– design in any pseudocode (e.g., structured English);
– interface design ideas including any diagrams;
– is not long winded or repetitive,
– provides full error checking throughout,
– provides clear error messages,
– uses at least one function,
– provides all the potential functionality of the original
– plus at least one piece of extra functionality not
embedded in the command but useful to the user