04-20-04 02:34 AM
On Tue, 20 Apr 2004 at 00:46 GMT, escobo wrote:
> Listing The file data.txt has the following structure:
> Item1 Item2 ... ItemN
> ------------------------------------------------
> Value11 Value21 ... ValueN1
> Value12 Value22 ... ValueN2
>: : :
> Value1M Value2M ... ValueNM
>
> Create a script that displays the information from the file data.txt
> sorted by some criteria. Your script should have the following input
> parameters:
> listing -h -ilist -olist -ffile
> -h displays help
> -ilist, list defines criteria for sorting,
> -olist, list defines which values will be displayed on the output,
> -ffile, name of the input file.
[rest of homework assignment snipped]
You're in luck!
All your questions have already been answered in the
comp.unix.shell newsgroup. If you search the archives at
<http://groups.google.com/groups?group=comp.unix.shell>, you'll
find everything you need.
If you need more help, post the problem sections of your script to
the comp.unix.shell newsgroup. Be sure to explain exactly what is
going wrong (cut and paste error messages and incorrect output).
--
Chris F.A. Johnson http://cfaj.freeshell.org/shell
========================================
===========================
My code (if any) in this post is copyright 2004, Chris F.A. Johnson
and may be copied under the terms of the GNU General Public License
[ Post a follow-up to this message ]
|