First of all note that according to the wikipedia page the original fortune was created in , before the first version of perl was released in , or python, ruby or Lua which were released later, and when UNIX-running computers were more underpowered than they are today. You may be able to get them to work with the data files of fortune-mod and other fortune collections, but note that we have not closely reviewed their source codes.
Thirdly, most of the value and relative data size of the tarball is in the quotes collection. Finally note that the runtime algorithm is not as straightforward as one may believe, making use of dat files that contain counts and offsets of the fortune "cookies". Converted the build system to CMake. Reformatted the C code using clang-format. Skip to content. Star View license. Branches Tags. Could not load branches. Could not load tags.
Latest commit. Git stats commits. Failed to load latest commit information. View code. Why is it written in C? Why did you convert the buildsystem to CMake? What was already done. What remains to be done.
Installation On Fedora and other rpm-based distributions:. Release Tarballs Release tarballs can be found at this directory for now.
History I believe fortune-mod was originally forked from the NetBSD version of fortune, and ported to run on Linux systems. What is the difference between fortune-mod and the "normal" fortune?
The answer has several parts:. Converted the source files to UTF Added some tests. A large collection of quotes is provided in the download and installed by default, but more quote collections can be added by the user. For more information about the original, you can contact Shlomi Fish. I believe fortune-mod was originally forked from the NetBSD version of fortune, and ported to run on Linux systems.
This maintenance version was initiated by Shlomi Fish, who decided to maintain it out of being a fan of the fortune command. It started by importing the unpacked source of the fortune-mod First of all note that according to the wikipedia page the original fortune was created in , before the first version of perl was released in , or python, ruby or Lua which were released later, and when UNIX-running computers were more underpowered than they are today.
You may be able to get them to work with the data files of fortune-mod and other fortune collections, but note that I have not closely reviewed their source codes.
0コメント