Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <19990716135729.4457.rocketmail@web124.yahoomail.com> Date: Fri, 16 Jul 1999 09:57:29 -0400 (EDT) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com Subject: Re: Problems with the syntax for initializing variables To: fladerr AT dk DOT ibm DOT com, cygwin AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- fladerr AT dk DOT ibm DOT com wrote: > > > Hi ! > > I've problems with initialize a variable with a dynamic variable like > "date". In Korn Shell I've used the following syntax with success: > > TID=`date +"%d%m%y%H%M%S"` > Works for me in both interactive BASH and interactive SH. You may need to use the export command. For info on export type `help export' at the bash prompt. === Earnie Boyd Newbies, please visit (If you respond to the list, then please don't cc me) _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com