🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3822

Re: Writing a script

#3822
From: Peter Roozemaal
Date: Fri, 08 Dec 2000 20:17
19 lines
2277 bytes
Jody Zung wrote:
> 
> Ok right, I do have this basic concept and understanding that you described
> of how to do this but I suppose I need the specifics on doing it. Such as
> what command outputs to a file.  I know i need to do some more homework and
> read up on this but was hoping to find some quick easy answers.  Also if you
> have experience using DejaGnu or Expect that would be great, its a test
> automation tool but I don't understand how to use it and havn't found much
> info on it.
> 
Do you have /some/ programming experience? Then you should start with
reading the manual pages for bash, ksh or sh (depending on which shell
is available). The command for that is "man sh". I/O redirection ia part
of the shell's job (and done with < and >).
cmp, diff and grep are great tools. Read their manpages too. And awk is
a simple and efficient programming language for making reports. (python,
perl and tcl are other commonly used scripting languages).

Peter
Technical Details
Message-ID: <3A3141EB.3787E3F8@xs4all.nl>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!194.109.6.150!transit.news.xs4all.nl!not-for-mail
References: <3A2E6922.61778861@siliconmetrics.com> <3A2E790B.2E7997E0@xs4all.nl> <3A3012FC.2C4A9B71@siliconmetrics.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc89c,447395ef176ca092
X-Google-Attributes: gidfc89c,public
X-Google-Thread: 1025b4,447395ef176ca092
X-Google-Attributes: gid1025b4,public
X-Google-Thread: 11035d,447395ef176ca092
X-Google-Attributes: gid11035d,public
X-Google-ArrivalTime: 2000-12-08 12:17:43 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!194.109.6.150!transit.news.xs4all.nl!not-for-mail
From: Peter Roozemaal <mathfox@xs4all.nl>
Newsgroups: comp.unix.programmer,comp.unix.solaris,gnu.misc.discuss
Subject: Re: Writing a script
Followup-To: poster
Date: Fri, 08 Dec 2000 21:17:47 +0100
Organization: Mathfox Automatisering
Lines: 19
Message-ID: <3A3141EB.3787E3F8@xs4all.nl>
References: <3A2E6922.61778861@siliconmetrics.com> <3A2E790B.2E7997E0@xs4all.nl> <3A3012FC.2C4A9B71@siliconmetrics.com>
NNTP-Posting-Host: mathfox.xs4all.nl
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news1.xs4all.nl 976306662 2286 213.84.14.16 (8 Dec 2000 20:17:42 GMT)
X-Complaints-To: abuse@xs4all.nl
NNTP-Posting-Date: 8 Dec 2000 20:17:42 GMT
To: Jody Zung <jzung.zung@siliconmetrics.com>
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.13 i586)
X-Accept-Language: en