-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Antonio Jara on 2/14/2006 11:06 AM:
> i'm not (yet) a developer. I'd like to be able to implementate this
> idea, but I've looked into sort.c and I felt completely lost. It would
> be nice that sort had an option to sort randomly the input, to do, for
> example, things like
> $ mplayer `ls music/* | sort --random`
> from console.

This already exists in CVS head (will become coreutils 6.0):

$ sort --version | head -n 1
sort (GNU coreutils) 6.0-cvs
$ sort --help | grep random
  -R, --random-sort           sort by random hash of keys
      --seed=STRING         seed random hash function with STRING

- --
Life is short - so eat dessert first!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD8yox84KuGfSFAYARAltZAJ9ZPnS5KDgnpr3m+BEn4Zo2dDqxewCgjIIV
d9yN0iJf/CGh8Rx/Se9J2b4=
=Nyx0
-----END PGP SIGNATURE-----


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to