Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 15 Jan 2003 00:08:30 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: problems with the "%h" flag to the "date" command Message-ID: <20030115050830.GA24898@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20030115043754 DOT GA1416 AT scripps DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030115043754.GA1416@scripps.edu> User-Agent: Mutt/1.5.1i On Tue, Jan 14, 2003 at 08:37:54PM -0800, David A. Case wrote: >Several of my scripts are failing because "date" doesn't seem to properly >recognize the "%h" flag. According to the docs: > >% man date > >NAME > date - print or set the system date and time >.. > > %b locale's abbreviated month name (Jan..Dec) >.. > %h same as %b >.. Apparently newlib isn't implementing the '%h' option in its version of strftime. I'll submit a patch to newlib. I'll also implement '%l' and '%k' while I'm at it. A fix for this will be in 1.3.19, coming soon, to a... No wait a minute, I forgot I was going to be mean and hold onto 1.3.19 for a while... Bwaha, etc. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/