#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    2
    Rep Power
    0

    Unhappy 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
    command and
    plus at least one piece of extra functionality not
    embedded in the command but useful to the user
  2. #2
  3. No Profile Picture
    Got source?
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2003
    Location
    Laguna Niguel, California, USA
    Posts
    2,331
    Rep Power
    14
    Why is it this looks suprisingly similar to a school assignment?
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Posts
    1
    Rep Power
    0

    Talking


    Funny that, I'm sure I've read that somewhere before.

    Ahh yes, on the assignment printed out right in front of me
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Posts
    1
    Rep Power
    0
    Did someone resolve this script yet "using cat to create a shell script"? If yes, may I have it?

IMN logo majestic logo threadwatch logo seochat tools logo