HP3000-L Archives

January 1999, Week 4

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:
John Korb <[log in to unmask]>
Reply To:
John Korb <[log in to unmask]>
Date:
Fri, 22 Jan 1999 17:53:50 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
Yup!  Been there, wished for that.  Same reason, too - logging!

John


At 1/22/99 05:19 PM , Mark Bixby wrote:
>Has anybody else ever wished for an HPSECOND CI variable to go along with the
>current time-of-day variables HPHOUR and HPMINUTE?
>
>I have some CI scripts that append events to log files, but I'm forced to just
>use HH:MM for a timestamp because there's no seconds variable, and I'm
>too lazy to capture and parse :SHOWCLOCK output (the only CI command I know
>of to display seconds in a timestamp).
>
>If I was doing a SH script, I would simply do "TIME=`date +%H:%M:%S`" because
>it's so easy.  Sure, I could call DATE.HPBIN.SYS from a CI script, but I'd
>have to redirect it to a temporary file, read the file into a variable, then
>delete the file.  Tedious!
>
>It seems to me this would be a really easy CI enhancement, given that HPHOUR
>and HPMINUTE already exist.....
>--
>Mark Bixby                      E-mail: [log in to unmask]
>Coast Community College Dist.   Web: http://www.cccd.edu/~markb/
>District Information Services   1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
>Technical Support               Voice: +1 714 438-4647
>"You can tune a file system, but you can't tune a fish." - tunefs(1M)


--------------------------------------------------------------
John Korb                            email: [log in to unmask]
Innovative Software Solutions, Inc.

The thoughts, comments, and opinions expressed herein are mine
and do not reflect those of my employer(s), or anyone else.

ATOM RSS1 RSS2