re: CVS commit: src/external/gpl3/gcc

2014-02-26 Thread matthew green
> > > +date=$(date +%Y%m%M-%H%M) > > > > I think, it isn't necessary to invoke a subshell. > > > > date=`date +%Y%m%M-%H%M` is enough. > > date +%Y%m%d-%H%M ? ah, thanks.

Re: CVS commit: src/external/gpl3/gcc

2014-02-26 Thread Joerg Sonnenberger
On Wed, Feb 26, 2014 at 11:58:18AM +0100, Christoph Egger wrote: > > +date=$(date +%Y%m%M-%H%M) > > I think, it isn't necessary to invoke a subshell. > > date=`date +%Y%m%M-%H%M` is enough. Both forms involve a subshell, the only difference between $() and `` is quoting. Joerg

Re: CVS commit: src/external/gpl3/gcc

2014-02-26 Thread Takeshi Nakayama
>>> Christoph Egger wrote > On 26.02.14 11:50, matthew green wrote: > > +date=$(date +%Y%m%M-%H%M) > > I think, it isn't necessary to invoke a subshell. > > date=`date +%Y%m%M-%H%M` is enough. date +%Y%m%d-%H%M ? -- Takeshi Nakayama

Re: CVS commit: src/external/gpl3/gcc

2014-02-26 Thread Christoph Egger
On 26.02.14 11:50, matthew green wrote: > Module Name: src > Committed By: mrg > Date: Wed Feb 26 10:50:23 UTC 2014 > > Added Files: > src/external/gpl3/gcc: gcc2gcc.old > > Log Message: > script to copy gcc to gcc.old, ready for importing. > > > To generate a diff of this commit