[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Localization based problem with sort
From: |
Dirk Stoecker |
Subject: |
Re: Localization based problem with sort |
Date: |
Tue, 17 Jan 2006 16:23:18 +0100 (CET) |
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 <<EOF
> #! /bin/sh
> LC_ALL=C
> export LC_ALL
> exec /usr/bin/sort "$@"
> EOF
> chmod 555 $HOME/bin/sort
> PATH="$HOME"/bin:"$PATH"
You hopefully agree, that creating a new sort-command (which BTW can't be
named sort, as this means user-global settings and not per-call settings)
is rather strange?
Ciao
--
http://www.dstoecker.de/ (PGP key available)
- Re: Localization based problem with sort, (continued)
- 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, 2006/01/17
- Re: Localization based problem with sort,
Dirk Stoecker <=
- 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