bogosort sorts files or its standard input using the "bogo-sort" algorithm. It can also just randomise the lines in its input, allowing you to perform your own check in a loop.
| Tags | Utilities |
|---|---|
| Licenses | GPL |
| Implementation | C |
Recent releases


Release Notes: This release reworks the scrambling procedure. Now, only two assignments are performed to the array for each line, instead of three.


Release Notes: bogosort --help now works again.


Release Notes: There is a new --seed option. Exit codes are taken from sysexits.h. The randomization algorithm now does what it was intended to do, and the last line isn't ignored if not terminated by a newline.


Release Notes: This release now builds without GNU Make.


Release Notes: Various internal updates, and compile support for OpenBSD.
Recent comments
11 Apr 2001 17:48
Re: Just one question
It's mentioned in the documentation. ;)
I'd been thinking it would be fun, and then I started using alsaplayer which then couldn't play songs randomly, so I wrote a program to reorder the lines in playlists randomly.
When I'd done that, I had practically written a bogosort, so I decided to finnish it.
Also I just wanted to learn more about automake, autoconf, and writing infomanuals and manpages.
08 Apr 2001 01:21
Just one question
*why?*
:) I approve nonetheless!