An open API service indexing awesome lists of open source software.

https://github.com/bmoneill/fortune

A fortune(6) implementation
https://github.com/bmoneill/fortune

bsd-games cli fortune

Last synced: 28 days ago
JSON representation

A fortune(6) implementation

Awesome Lists containing this project

README

          

# A simple fortune implementation

This is a simple fortune implementation that supports the same file
formats as the standard Linux/BSD versions.

## Installation

### Linux

```shell
make
sudo make install
```

## Usage

```shell
fortune [file] [separator]
```

Default separator is `'\n'`.

## Further Reading

* [fortune.c on UNIX V7](https://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/games/fortune.c)

## Bugs

If you find a bug, submit an issue, PR, or email me with a description and/or patch.

## License

Copyright (c) 2022-2025 Ben O'Neill . This work is released under the
terms of the MIT License. See [LICENSE](LICENSE) for the license terms.