From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,ac9e2a0f17d13140 X-Google-Attributes: gidf678f,public From: "John Sheldrake" Subject: Re: vdump of root ..et al Date: 2000/02/14 Message-ID: <888ph8$mir$1@newsg4.svr.pol.co.uk>#1/1 X-Deja-AN: 585695976 References: <38A54010.B4FE207C@dassic.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@theplanet.net X-Trace: newsg4.svr.pol.co.uk 950528360 23131 62.136.16.12 (14 Feb 2000 11:39:20 GMT) Organization: Customer of Planet Online NNTP-Posting-Date: 14 Feb 2000 11:39:20 GMT Newsgroups: comp.unix.osf.misc >> 4) bonus question: I need to get "yesterday's" date for ksh scripts.... any >> ideas? > >date --date '1 day ago' > >or > >date --date '-24 hours' > >or > >date --date '-1 day' > > >I don't remember using it on Digital Unix, but it works on Linux. > > >l8r/Jspr doesn't seem to work on DU but you could run a script like this #!/bin/sh TZ=GMT24 date substitute GMT24 for whatever your TZ is normally and add 24hrs to it