[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Additional feature for the seq command
From: |
Axel Liljencrantz |
Subject: |
Re: Additional feature for the seq command |
Date: |
Fri, 29 Apr 2005 22:07:10 +0200 (MEST) |
On Fri, 29 Apr 2005, Andreas Schwab wrote:
> Axel Liljencrantz <address@hidden> writes:
>
> > As to non-latin and multibyte, I only have use for doing sequences of
> > letters from the english alphabet, and that is what I implemented.
>
> Your version will happily accept non-ASCII letters as start or end point,
> as long as they are single-byte.
*Doh*
I missed the fact that seq sets the locale. I used isupper||islower
to check if the character is a letter, which should do the right
thing in the C locale. My bad.
>
> Andreas.
>
> --
> Andreas Schwab, SuSE Labs, address@hidden
> SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
> Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
>
--
Axel
- Re: Additional feature for the seq command,
Axel Liljencrantz <=