James Youngman wrote:
On Tue, Jan 17, 2006 at 02:13:47PM +0100, Dirk Stoecker wrote:
Also, just as you didn't know about the LC_COLLATE option, the
rest of the world will not know about the new options, either, so
these don't seem to present much of an advantage.
Well, options are usually d
On Tue, 17 Jan 2006, Dirk Stoecker wrote:
So please tell me a way to use the sort program in contexts which
allow no environment variable settings. I will be happy to accept it.
I would cheekily point out that the reason you see the unwelcome sort
order in the first place is caused by an envi
James Youngman <[EMAIL PROTECTED]> wrote:
> On Tue, Jan 17, 2006 at 02:13:47PM +0100, Dirk Stoecker wrote:
>> So please tell me a way to use the sort program in contexts which allow no
>> environment variable settings. I will be happy to accept it.
>
> #! /bin/sh
> cat > $HOME/bin/sort < #! /bin/sh
Dirk Stoecker wrote:
> So please tell me a way to use the sort program in contexts which allow no
> environment variable settings. I will be happy to accept it.
You can use "env LC_COLLATE=C sort -opts" as the sort command. Or 'sh
-c "LC_COLLATE=C sort -opts"'.
Brian
_
On Tue, 17 Jan 2006, James Youngman wrote:
> > So please tell me a way to use the sort program in contexts which allow no
> > environment variable settings. I will be happy to accept it.
>
> #! /bin/sh
> cat > $HOME/bin/sort < #! /bin/sh
> LC_ALL=C
> export LC_ALL
> exec /usr/bin/sort "$@"
> EOF
On Tue, Jan 17, 2006 at 02:13:47PM +0100, Dirk Stoecker wrote:
> So please tell me a way to use the sort program in contexts which allow no
> environment variable settings. I will be happy to accept it.
#! /bin/sh
cat > $HOME/bin/sort < Clean design is always good, but it should not reduce the u
On Tue, 17 Jan 2006, James Youngman wrote:
> > b) Even advanced users do not know of LC_COLLATE. I myself use UNIX
> >operating systems for more than 10 years and it is the very first time
> >I get in contact with this special environment variable. It is very
> >unintuitive to set e
On Tue, Jan 17, 2006 at 08:44:30AM +0100, Dirk Stoecker wrote:
> b) Even advanced users do not know of LC_COLLATE. I myself use UNIX
>operating systems for more than 10 years and it is the very first time
>I get in contact with this special environment variable. It is very
>unintuit
On Mon, 16 Jan 2006, Paul Eggert wrote:
> Dirk Stoecker <[EMAIL PROTECTED]> writes:
>
> > What about the following solution? It is not exactly implementing the
> > above options, but nevertheless fixes the problem directly:
>
> But isn't this equivalent to setting LC_COLLATE="C" and LC_TIME="C"
Dirk Stoecker <[EMAIL PROTECTED]> writes:
> What about the following solution? It is not exactly implementing the
> above options, but nevertheless fixes the problem directly:
But isn't this equivalent to setting LC_COLLATE="C" and LC_TIME="C" in
the environment? Why bother to have two differen
On Fri, 13 Jan 2006, Paul Eggert wrote:
> > What would be the problem when there is an option "--no-dictionary-order"
> > and "--no-ignore-case"?
>
> The problem is implementing those options, not specifying them. I
> don't know how to implement them. If you could supply a patch to
> implement
Hello,
> > What would be the problem when there is an option "--no-dictionary-order"
> > and "--no-ignore-case"?
>
> The problem is implementing those options, not specifying them. I
> don't know how to implement them. If you could supply a patch to
> implement them, that would help.
I will h
Dirk Stoecker <[EMAIL PROTECTED]> writes:
> What would be the problem when there is an option "--no-dictionary-order"
> and "--no-ignore-case"?
The problem is implementing those options, not specifying them. I
don't know how to implement them. If you could supply a patch to
implement them, tha
Hello,
> Dirk Stoecker <[EMAIL PROTECTED]> writes:
>
> > when using the "sort" utility in German language the two options
> >
> > -d, --dictionary-order
> > -f, --ignore-case
> >
> > are activated by default. It is impossible to have other sorting methods
> > then.
> >
> > Would you
Dirk Stoecker <[EMAIL PROTECTED]> writes:
> when using the "sort" utility in German language the two options
>
> -d, --dictionary-order
> -f, --ignore-case
>
> are activated by default. It is impossible to have other sorting methods
> then.
>
> Would you please add negative forms of t
Hello,
when using the "sort" utility in German language the two options
-d, --dictionary-order
-f, --ignore-case
are activated by default. It is impossible to have other sorting methods
then.
Would you please add negative forms of these options, so they can be
deactivated in local
16 matches
Mail list logo