December 2nd, 2003, 07:11 AM
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
December 2nd, 2003, 10:09 PM
Why is it this looks suprisingly similar to a school assignment?
December 20th, 2003, 02:45 PM
Funny that, I'm sure I've read that somewhere before.
Ahh yes, on the assignment printed out right in front of me
December 20th, 2003, 05:33 PM
Did someone resolve this script yet "using cat to create a shell script"? If yes, may I have it?