delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
From: | "Eric Rehm" <rehm AT singingfish DOT com> |
To: | <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | FW: Bash and $(date) |
Date: | Mon, 15 Nov 1999 07:41:12 -0800 |
Message-ID: | <NABBKIOLBMIGNJNIFNOMMEJJFJAA.rehm@singingfish.com> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200 |
Is there an easy way to get *yesterday's* date using the date command in a bash script? I know how to parse the date, use integer variables, etc., but I'd rather not have to put in all the year, month, day logic into a script. /eric rehm -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |