[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Localization based problem with sort
From: |
James Youngman |
Subject: |
Re: Localization based problem with sort |
Date: |
Tue, 17 Jan 2006 14:55:32 +0000 |
User-agent: |
Mutt/1.5.9i |
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 <<EOF
#! /bin/sh
LC_ALL=C
export LC_ALL
exec /usr/bin/sort "$@"
EOF
chmod 555 $HOME/bin/sort
PATH="$HOME"/bin:"$PATH"
> Clean design is always good, but it should not reduce the usability. I
> have a problem, which is not solvable for now. I don't care for this only
> for theoretical reasons, but have a pratical problem.
>
> > 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 documented in the manual pages. Also the
> documentation can contain any additional notes about portability issues
> when using the option (or not using it). And BTW the docs could also have
> a note about LC_COLLATE changing sort ordering totally.
They already do, though. On my system, such a note appears both in
the Texinfo documentation and in the manual page.
James.
- Localization based problem with sort, Dirk Stoecker, 2006/01/12
- Re: Localization based problem with sort, Paul Eggert, 2006/01/12
- Re: Localization based problem with sort, Dirk Stoecker, 2006/01/13
- Re: Localization based problem with sort, Paul Eggert, 2006/01/13
- Re: Localization based problem with sort, Dirk Stoecker, 2006/01/13
- Re: Localization based problem with sort, Dirk Stoecker, 2006/01/16
- Re: Localization based problem with sort, Paul Eggert, 2006/01/17
- Re: Localization based problem with sort, Dirk Stoecker, 2006/01/17
- Re: Localization based problem with sort, James Youngman, 2006/01/17
- Re: Localization based problem with sort, Dirk Stoecker, 2006/01/17
- Re: Localization based problem with sort,
James Youngman <=
- Re: Localization based problem with sort, Dirk Stoecker, 2006/01/17
- Re: Localization based problem with sort, Jim Meyering, 2006/01/17
- Re: Localization based problem with sort, The Wanderer, 2006/01/17
- Re: Localization based problem with sort, Brian Dessent, 2006/01/17
- Re: Localization based problem with sort, Philip Rowlands, 2006/01/17