UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old December 2nd, 2003, 07:11 AM
wshark83 wshark83 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 wshark83 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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

Reply With Quote
  #2  
Old December 2nd, 2003, 10:09 PM
mttatkns mttatkns is offline
Got source?
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Mar 2003
Location: Laguna Niguel, California, USA
Posts: 2,332 mttatkns User rank is Private First Class (20 - 50 Reputation Level)mttatkns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Why is it this looks suprisingly similar to a school assignment?

Reply With Quote
  #3  
Old December 20th, 2003, 02:45 PM
HiGate HiGate is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 1 HiGate User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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

Reply With Quote
  #4  
Old December 20th, 2003, 05:33 PM
Boomerang Boomerang is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 1 Boomerang User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Did someone resolve this script yet "using cat to create a shell script"? If yes, may I have it?

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > using cat to create a shell script


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway