HP3000-L Archives

January 2002, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"VANCE,JEFF (HP-Cupertino,ex1)" <[log in to unmask]>
Reply To:
VANCE,JEFF (HP-Cupertino,ex1)
Date:
Thu, 3 Jan 2002 23:28:39 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
Hello Russ,

...
> !comment  Update the range of logs to process
> !file zlog,oldtemp
> !if finfo("*zlog",0)
IMO, it is easier to read and to maintain next year if you use the
FINFO label names rather than the numbers.  I would write here:
  !if finfo("*zlog,"exists") then

> !   purge zlog,temp
Minor trivia: you can now use a semicolon instead of the comma.
PURGE is now more consistent with other CI commands, where commas
usually delimit an token in a list of related tokens.
  !   purge zlog;temp

Also, FWIW, you could just unconditionally purge the temp file
not worrying if it exists or not, e.g.:
  !purge zlog;temp >$null

> !endif
> !build zlog;TEMP;dev=disc;disc=10;rec=-4,,f,ascii;nocctl
> !file outz=zlog,oldtemp;dev=disc;acc=append
Why "acc=append" when you have ">>" redirection to append?

> !echo !FIRST >*outz
> !echo !LAST  >>*outz
...

regards,
 Jeff Vance, CSY

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2