Thanks Stephen,
I wonder what the EOF syntax is for a normal shell script
in bourne shell or csh?
Does anybody know?
Cheers!
Andrew
At 09:38 AM 4/29/99 +0100, you wrote:
>On Thu, 29 Apr 1999, Andrew Chung wrote:
>>
>> for i in `cat $1.temp` ; do
>
>I think this line is why you have a memory problem. You should be able to
>process a log of any size in a fixed amount of memory if you do the
>following:
>
> while (not end-of-file) {
> read next line from file
> munge line
> output line to new_file
> }
>
>I leave the implementation of this in your favourite programming language as
>an exercise.
>
>--
>Stephen Turner [EMAIL PROTECTED] http://www.statslab.cam.ac.uk/~sret1/
> Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
>
>--------------------------------------------------------------------
>This is the analog-help mailing list. To unsubscribe from this
>mailing list, send mail to [EMAIL PROTECTED]
>with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
>--------------------------------------------------------------------
_________________________________________________________
Andrew Chung
[EMAIL PROTECTED]
LiSP Internet - Information Technology Services
2 College Road BATHURST NSW 2795
Fax: +61 (02) 63325248
Web: http://www.lisp.com.au/
--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------