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

Re: Useful zsh/datetime things



Oliver Kiddle wrote:
> Bart wrote:
> > A useful addition to strftime would be an option to assign the result to a
> > parameter, similar to the -A and -H options of "stat" (from zsh/stat).
> 
> Don't really see the point of that. $(...) does the job and it is more
> obvious what it does than some option letter.

Well, if you passed it an associative array you could arrange it so that
the element "m" was given the value of the "%m" output, and so on.  But
that looks like overkill.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited.  
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************



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