HP3000-L Archives

August 1998, 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:
Lars Appel <[log in to unmask]>
Reply To:
Lars Appel <[log in to unmask]>
Date:
Wed, 5 Aug 1998 22:16:08 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (13 lines)
At 17:51 03.08.98 -0400, Greg wrote:
>Here's a challenge: I was asked how to calculate the date five days from
>now in the shell from the command line, without using awk or perl. Sorry
>to bring this up, since we just visited CI date routines...

Too sad that COBOL isn't allowed in this contest (even if it would
proably satisfy the MPE, Unix, NT availability requirement easily).

Otherwise I'd probably try something based on FUNCTION INTEGER_OF_DATE,
ADD x TO y and FUNCTION DATE_OF_INTEGER (using $CONTROL POST85) ...

;-) Lars

ATOM RSS1 RSS2