This is a shell question - not a CVS question.

in a shell variables are expanded in strings with double (") quotes but not
expanded in strings with single (') quotes.

I suspect you want to do this:

        cvs commit -m 'Changed initial value of $my_var'

Different shells (bash/tcsh/perl?) behave differently.

You need the appropriate beating up so here goes :
        "Please direct your questions to the $SHELL news group"

Good luck
G

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Andy Lewis
Sent: Wednesday, May 16, 2001 7:03 AM
To: [EMAIL PROTECTED]
Subject: VARs


Hi All,

My first post and new to CVS. Please don't beat me up.....

My question, am I not allowed to do the following?

   cvs commit -m "Changed initial value of $my_var"


I would like $my_var to print out as is.

Thanks

Andy Lewis
Atmel Corp.


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to