> > > +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.
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
>>> 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
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