D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Just a silly command line question

 

On Thu, May 24, 2007 at 01:45:06PM +0000, Andy Smith wrote:
> $(date +'%Y%m%d.log') is equivalent to `date +'%Y%m%d.log'` by the
> way, but is more readable and far easier to nest.  It is however
> bash-specific I believe.

Nope. Works in (at least) dash and zsh as well.

        bma

-- 
Benjamin A'Lee <bma@xxxxxxxxx>
http://bmalee.eu/~bma/
"A fan club is a group of people who tell an actor he's not alone in the
way he feels about himself." - Kenneth Williams

Attachment: signature.asc
Description: Digital signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html