Return-Path: <root@fatcity.cts.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id gADNVpP01321
 for <oracle-l@orafaq.net>; Wed, 13 Nov 2002 17:31:51 -0600
X-ClientAddr: 209.68.248.164
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id gADNVoP01316
 for <oracle-l@orafaq.net>; Wed, 13 Nov 2002 17:31:50 -0600
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id MAA09775;
 Wed, 13 Nov 2002 12:15:40 -0800 (PST)
Received: by fatcity.com (26-Feb-2001/v1.0g-b72/bab) via UUCP id 005029D8; Wed, 13 Nov 2002 11:52:53 -0800
Message-ID: <F001.005029D8.20021113115253@fatcity.com>
Date: Wed, 13 Nov 2002 11:52:53 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Sherman, Edward" <shermanej@eccic.com>
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Sherman, Edward" <shermanej@eccic.com>
Subject: RE: OT ksh day of week yesterday
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 72; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

My TZ is EST5EDT and I think the 5 implies GMT-05:00
What does the 26 in EST26EDT imply?

Just curious.
Ed

-----Original Message-----
Sent: Wednesday, November 13, 2002 2:24 PM
To: Multiple recipients of list ORACLE-L


yesterday=$(TZ=EST26EDT date +%a)

On Wed, 13 Nov 2002, Barbara Baker wrote:

>
> Will someone take pity on this poor VMS'er lost in a unix world??
>
> I'm trying to create a script (ksh) that reads a log file created 
> yesterday.  The log files are created with `date +%a` appended to the 
> end of the log file name.  Last night a log file was created called 
> arc_indexlog.Tue  It's easy enough to get today
>
>    TDAY="`date +%a`"
>    grep -i "ora" /orasrv/ops/maint/logs/arc_indexlog.$TDAY
>    grep -i "ora" /orasrv/ops/maint/logs/adv_indexlog.$TDAY
>
> but how do I get yesterday in the same format? (i.e., Tue instead of Wed)
I man'd date, but it was no help.
>
> Thanks for any help.
>
> Barb
>
>
>
> ---------------------------------
> Do you Yahoo!?
> U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Alex
  INET: axs@m-net.arbornet.org

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in the
message BODY, include a line containing: UNSUB ORACLE-L (or the name of
mailing list you want to be removed from).  You may also send the HELP
command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Sherman, Edward
  INET: shermanej@eccic.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

