Problems with the syntax for initializing variables

Michael Hirmke mh@mike.franken.de
Sat Jul 31 18:34:00 GMT 1999


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@mike.franken.de
                         | WWW     http://aquarius.franken.de/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list