Re: Unix

From: Chris F.A. Johnson (c.fa.johnson_at_rogers.com)
Date: 04/20/04


Date: 20 Apr 2004 00:54:28 GMT

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


Relevant Pages

  • Re: Really Baffled any clues as to what is going on?
    ... > I am working on a script, it has an input file of machine names. ... > Dim fstrLogFilePath ... > fstrInputFile = InputBox("Enter name of file containing machines to ...
    (microsoft.public.scripting.vbscript)
  • Re: IE 6 Freezes on certain webpages after SP2 install
    ... > It just hangs on those jscript webpages and I still can't figure out a way ... How to Troubleshoot Script Errors in Internet Explorer ... WinXP SP2 Support Center ... Replies are posted only to the newsgroup for the benefit or other readers. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Parse an input file using a Key value
    ... I have an input file in the following format getting repeated. ... I tried to achieve this task using the following script below but it is ... To tranpose certain rows into columns and sort by one of the ...
    (comp.unix.shell)
  • Re: Running a DOS program using Microsoft Command Shell
    ... needed are available by public FTP: ... and the input file is run.txt. ... missing the ESC character, since I don'y know how to feed ESC in this ... When instructed from shell script, the progam simply ignores all SendKeys. ...
    (microsoft.public.windows.server.scripting)
  • Re: Modify Registry on all SBS2003 clients
    ... permissions to these registry keys. ... computer startup script so that the script can be run under the Local ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)