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) _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils