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 From: fladerr AT dk DOT ibm DOT com X-Lotus-FromDomain: IBMDK AT IBMGB To: cygwin AT sourceware DOT cygnus DOT com Message-ID: <802567B0.0046F37F.00@d06mta04.portsmouth.uk.ibm.com> Date: Fri, 16 Jul 1999 14:57:04 +0200 Subject: Problems with the syntax for initializing variables Mime-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id IAA24003 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"` I've tried the same syntax in BASH-shell, but without luck. In BASH-shell it only work for me with the following syntax: date +"%d%m%y%H%M%S" > tid read TID < tid Can you help me ! Thanks in advance ! Med venlig hilsen/Best regards Rune Flader I/T Specialist, Business Solution Integration IBM Denmark A/S, Sortemosevej 21, DK-3450 Allerød, Denmark Phone +45 4523 9078, Mobile +45 2346 6730, Fax +45 4523 6809 Internet: fladerr AT dk DOT ibm DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com