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 <<EOF > #! /bin/sh > LC_ALL=C > export LC_ALL > exec /usr/bin/sort "$@" > EOF
Or just invoke sort via env: env LC_ALL=C sort ... _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils