| delorie.com/archives/browse.cgi | search |
| 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 |
| Date: | 16 Jul 1999 21:41:00 +0200 |
| From: | mh AT mike DOT franken DOT de (Michael Hirmke) |
| To: | cygwin AT sourceware DOT cygnus DOT com |
| Message-ID: | <7K-zSqOppfB@mike.franken.de> |
| In-Reply-To: | <802567B0.0046F37F.00@d06mta04.portsmouth.uk.ibm.com> |
| Subject: | Re: Problems with the syntax for initializing variables |
| X-Mailer: | CrossPoint v3.11 R/C9763 |
| MIME-Version: | 1.0 |
| Organization: | Kommunikationsnetz Franken e.V. (Nuernberg) |
| x-copyright: | All rights reserved. Unauthorized copying, forwarding or publishing prohibited. |
| x-irc-nick: | nobanzai |
| x-no-archive: | yes |
Hi,
[...]
>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
It works perfectly here.
$ TID=`date +"%d%m%y%H%M%S"`
$ echo $TID
160799213626
$ echo $BASH_VERSION
2.02.1(2)-release
Windows 2000 Adv Server Build 2031
Cygwin B20.1 Snapshot from sometime end of June
>
>Can you help me !
>
>Thanks in advance !
>
>Med venlig hilsen/Best regards
>Rune Flader
Bye.
Michael.
--
Michael Hirmke | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX +49 (911) 557664
90489 Nuernberg | E-Mail mailto:mh AT mike DOT franken DOT de
| WWW http://aquarius.franken.de/
--
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 |