Projects / bogosort

bogosort

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
Licenses
Implementation

RSS Recent releases

  •  30 Jun 2003 16:15

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

  •  06 Sep 2002 16:09

Release Notes: bogosort --help now works again.

  •  04 Sep 2002 16:44

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.

  •  01 Aug 2001 06:55

Release Notes: This release now builds without GNU Make.

  •  07 Apr 2001 13:14

Release Notes: Various internal updates, and compile support for OpenBSD.

RSS Recent comments

11 Apr 2001 17:48 qha

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 cort

Just one question
*why?*

:) I approve nonetheless!

Screenshot

Project Spotlight

help2info

A command which generates a simple info manual from other commands.

Screenshot

Project Spotlight

Meson

An experiment to determine optimal syntax and structure for a build system.