Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: typeset for integers
- X-seq: zsh-users 8949
- From: Andrey Borzenkov <arvidjaar@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: typeset for integers
- Date: Sun, 5 Jun 2005 23:40:40 +0400
- Cc: Justin M Wozniak <jwozniak@xxxxxxxxxx>
- In-reply-to: <Pine.GSO.4.58.0506051423500.10074@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <Pine.GSO.4.58.0506051423500.10074@xxxxxxxxxx>
On Sunday 05 June 2005 23:28, Justin M Wozniak wrote:
> Is there a way to get internal integer performance combined with leading
> zero output? I.e., for typeset to combine -Z & -i ?
Do you mean this?
pts/2}% typeset -i 10 -Z 5 i
{pts/2}% echo $i
00005
{pts/2}% i=17
{pts/2}% echo $i
00017
-andrey
Attachment:
pgprDvgyU4Bjf.pgp
Description: PGP signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author