Re: Incorrect variable expansion in administrative files
"Gabriel Genellina" <[email protected]> Mon, 14 Sep 2009 05:14:31 -0300
| Newsgroups | gmane.comp.version-control.cvs.windows-nt.user |
|---|---|
| Message-ID | <[email protected]> |
En Sun, 13 Sep 2009 19:35:30 -0300, Arthur Barrett <[email protected]> escribió: >> Looks like variable expansion "eats" the first character from the >> remaining text. The same happens with any other variable ${USER}, >> ${REAL_CVSROOT}, etc. > > Thanks for the report. > > Looking at the code - this behaviour appears to be deliberately coded, > but certainly the manual doesn't make it clear. > > If you use braces then the first character after the closing brace is > always discarded: > ALL cmd /c echo ${CVSROOT} 12345 > I tested CVS 1.12.13 and it does NOT drop the first character. Just out of curiosity - is there any rationale for such "feature"? (I cannot think of any...) > So I propose: > * CVSNT 2.5.04 - no change > * CVSNT 2.5.05 - 1.12.13 behaviour Thanks. I'll have to remember to un-fix my scripts when/if I install 2.5.05... -- Gabriel Genellina _______________________________________________ cvsnt mailing list [email protected] http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/