bug-coreutils
[Top][All Lists]
Advanced

[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 15:58:56 +0200 (MEST)


On Fri, 29 Apr 2005, Andreas Schwab wrote:

> Axel Liljencrantz <address@hidden> writes:
>
> > This is an excellent question. I'm glad you asked, since I've given
> > it a fair bit of thought. It might seem like a good idea to use the
> > character ordering of the current locale, so you can generate
> > sequences with all the strange characters of your locale in them. My
> > seq patch is not implemented that way. It outputs the ASCII sequence.
>
> What about EBCDIC hosts?  The letters are not required to be consecutive.
> Also, what about non-latin letters or multi-byte characters?

Are there any character sets where coreutils is actually _used_ where
a-z are not consecutive?

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.
Please note that I am swedish myself, and the swedish language has
three extra characters in addition to those used in the english
language. I see very little reason for incorporating these characters
in sequences.

If people have a genuine need for localization, I am willing to fix
my implementation to handle braindead characer sets like EBDIC as
well as provide localized versions. It should not be that hard, as
long as you stay away from high UCS4 planes. (Famous last words...)
It's just that I don't see the use of it. If you want to reject this
feature because of missing localization, I would at least want to
have a list of reasonable real-world use-cases of automatically
generated localised character sequences.


>
> 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 Liljencrantz




reply via email to

[Prev in Thread] Current Thread [Next in Thread]