This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problems with the syntax for initializing variables




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@dk.ibm.com



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]