Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Useful zsh/datetime things
- X-seq: zsh-users 6680
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Useful zsh/datetime things
- Date: Fri, 10 Oct 2003 02:12:10 +0000
- In-reply-to: <1810.1065734940@athlon>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <1031009172754.ZM10491@xxxxxxxxxxxxxxxxxxxxxxx> <1810.1065734940@athlon>
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