BSD Ports

misc/bogosort 0.4.2_3 FreeBSD

Sort (or not) stdin using the bogo-sort algorithm

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
misc
Package size
17.2 KiB, 41.8 KiB installed

Description

Sort files or its standard input using the bogo-sort algorithm described in the Jargon File <http://www.catb.org/~esr/jargon/>.

A quote from the Jargon File 'bogo-sort' entry:

 ...The archetypical perversely awful algorithm (as opposed to
 \_bubble sort\_, which is merely the generic bad algorithm).
 \_Bogo-sort\_ is equivalent to repeatedly throwing a deck of cards
 in the air, picking them up at random, and then testing whether
 they are in order. It serves as a sort of canonical example of
 awfulness. Looking at a program and seeing a dumb algorithm, one
 might say "Oh, I see, this program uses \_bogo-sort\_." Esp.
 appropriate for algorithms with factorial or super-exponential
 running time in the average case and probabilistically infinite
 worst-case running time. Compare \_bogus\_, \_brute force\_,
 \_lasherism\_...

In the other systems

SystemPortVersion
FreeBSDmisc/bogosort0.4.2_3
DragonFlymisc/bogosort0.4.2_3

Install

Binary package:

pkg install bogosort

From the ports tree:

cd /usr/ports/misc/bogosort/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	bogosort>0:misc/bogosort

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.4.2_30.4.2_30.4.2_20.4.2_30.4.2_3
FreeBSD:14:quarterly0.4.2_30.4.2_3n/a0.4.2_30.4.2_3
FreeBSD:15:latest0.4.2_30.4.2_3n/a0.4.2_30.4.2_3
FreeBSD:15:quarterly0.4.2_30.4.2_3n/an/an/a
FreeBSD:16:latest0.4.2_30.4.2_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

===>   NOTICE:

The bogosort port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

distinfo 1
FileSizeSHA256
bogosort/0.4.2/bogosort.tar.gz161628bfd66ce866bb8935088873c52323a06997f627a209da1017491425d93e5510ef
Master sites 2
  • http://www.lysator.liu.se/~qha/bogosort/
  • ftp://l82.ryd.student.liu.se/pub/unix/bogosort/

Commit history 0

No commits in the history this site was built from.