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]

Re: Problems with the syntax for initializing variables


--- fladerr@dk.ibm.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 <mailto:earnie_boyd@yahoo.com>

Newbies, please visit
<http://www.freeyellow.com/members5/gw32/index.html>

(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@sourceware.cygnus.com


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