Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Useful zsh/datetime things



On Oct 9, 11:29pm, Oliver Kiddle wrote:
}
} Bart wrote:
} > A useful addition to strftime would be an option to assign the
} > result to a parameter
} 
} Don't really see the point of that. $(...) does the job and it is more
} obvious

But $(...) forks a copy of the shell, which is a lot more expensive than
assigning to a parameter.

Even an option to set $REPLY would be sufficient.  It doesn't need to take
the name of the parameter as an argument.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author