Fix invalid Markdown syntax in README, and minor improvements.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2015-09-10 11:07:14 +02:00
parent 295f901800
commit c10241745c

View File

@ -16,11 +16,11 @@ Table of Contents
Introduction Introduction
------------ ------------
This is a small [line editing] library. It can be linked into almost This is a small [line editing][] library. It can be linked into almost
any program to provide command line editing and history functions. It any program to provide command line editing and history functions. It
is call compatible with the [FSF readline] library, but at a fraction of is call compatible with the [FSF readline][] library, but at a fraction
the size, and as a result fewer features. It is also distributed under of the size, and as a result fewer features. It is also distributed
a much more liberal [LICENSE]. under a much more liberal [LICENSE][].
The small size (<30k), lack of dependencies (no ncurses needed!), and The small size (<30k), lack of dependencies (no ncurses needed!), and
the free license should make this library interesting to many embedded the free license should make this library interesting to many embedded
@ -31,14 +31,14 @@ by supplying different options to the GNU configure script. See the
output from <kbd>configure --help</kbd> for details. In the `examples/` output from <kbd>configure --help</kbd> for details. In the `examples/`
directory you can find some small code snippets used for testing. directory you can find some small code snippets used for testing.
Editline is maintained collaboratively at [GitHub]. Editline is maintained collaboratively at [GitHub][].
API API
--- ---
Here is the interface to editline. It has a small compatibility layer Here is the interface to editline. It has a small compatibility layer
to [FSF readline], which may not be entirely up-to-date. to [FSF readline][], which may not be entirely up-to-date.
```C ```C
/* Editline specific global variables. */ /* Editline specific global variables. */
@ -125,37 +125,39 @@ Build & Install
Editline was originally designed for older UNIX systems and Plan 9. The Editline was originally designed for older UNIX systems and Plan 9. The
current maintainer works exclusively on GNU/Linux systems, so it may use current maintainer works exclusively on GNU/Linux systems, so it may use
GCC and GNU Make specific extensions here and there. This is not on GCC and GNU Make specific extensions here and there. This is not on
purpose and patches/pull-requests to correct this are most welcome. purpose and patches or pull requests to correct this are most welcome!
* <kbd>./configure</kbd>: Configure editline with default features 1. Configure editline with default features: <kbd>./configure</kbd>
* <kbd>make all</kbd>: Build the library and examples 2. Build the library and examples: <kbd>make all</kbd>
* <kbd>make install</kbd>: Honors `$prefix` and `$DESTDIR` environment 3. Install using <kbd>make install</kbd>
variables, but see also <kbd>./configure --help</kbd>
The `$DESTDIR` environment variable is honored at install. See
<kbd>./configure --help</kbd> for more options.
Origin & References Origin & References
-------------------- --------------------
This [line editing] library was created by Simmule Turner and Rich Salz This [line editing][] library was created by Simmule Turner and Rich Salz
in in 1992. It is distributed under a “C News-like” license, similar to in in 1992. It is distributed under a “C News-like” license, similar to
the [BSD license]. For details, see the file [LICENSE]. the [BSD license][]. For details, see the file [LICENSE][].
This version of the editline library is forked from the [Minix 3] source This version of the editline library is forked from the [Minix 3][] source
tree. Patches and bug fixes from the following forks, all based on the tree. Patches and bug fixes from the following forks, all based on the
original comp.sources.unix posting, have been merged: original comp.sources.unix posting, have been merged:
* Debian [libeditline] * Debian [libeditline][]
* [Heimdal] * [Heimdal][]
* [Festival] speech-tools * [Festival][] speech-tools
* [Steve Tell]'s editline patches * [Steve Tell][]'s editline patches
The version numbering scheme today follows that of the Debian version, The version numbering scheme today follows that of the Debian version,
which can be seen in the [CHANGELOG.md]. The Debian version was unknown which can be seen in the [CHANGELOG.md][]. The Debian version was
to the current [maintainer] for quite some time, so a different name and unknown to the current [maintainer][] for quite some time, so a
different versioning scheme was used. In June 2009 this was changed to different name and different versioning scheme was used. In June 2009
line up alongside Debian, the intent is to eventually merge the efforts. this was changed to line up alongside Debian, the intent is to
eventually merge the efforts.
Outstanding issues are listed in the [TODO.md] file. Outstanding issues are listed in the [TODO.md][] file.
[GitHub]: https://github.com/troglobit/editline [GitHub]: https://github.com/troglobit/editline
[line editing]: https://github.com/troglobit/editline/blob/master/doc/README [line editing]: https://github.com/troglobit/editline/blob/master/doc/README