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

Reply via email to