Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zstrtol/strtol breakage
- X-seq: zsh-workers 62
- From: Richard Coleman <coleman@xxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: zstrtol/strtol breakage
- Date: Thu, 01 Jun 1995 17:13:46 -0400
- In-reply-to: Your message of "Thu, 01 Jun 1995 16:47:34 EDT." <9506012047.AA19369@xxxxxxxxxxxxxxxxxxxxxxxxx>
> Solaris and SunOS, but are there others? If it is
> broken, then the command
>
> echo {1..10}
>
> will give
>
> {1..10}
>
> rather than
>
> 1 2 3 4 5 6 7 8 9 10
>
> You should be using beta8 or beta9 to see this
> (if you have a broken strtol).
oops. A broken strtol will probably give you
1..10
not
{1..10}
I still find it hard to believe that this would be
broken on Sun for so long (I get the above result on
SunOS 4.1.1/4.1.3, Solaris 2.3/2.4). I was beginning
to think it was just my misunderstanding of the strtol
function until I tried it on Irix 5.3 (which gives the
correct result).
rc
Messages sorted by:
Reverse Date,
Date,
Thread,
Author