diff options
| author | Benjamin Linskey | 2026-05-06 13:59:12 -0400 |
|---|---|---|
| committer | Benjamin Linskey | 2026-05-06 13:59:12 -0400 |
| commit | 534db8e70e853e5703079c7f8d06af924b769070 (patch) | |
| tree | 4a0dbd230c7cdb0e7e979e534414a09d62318dac | |
| parent | 1c6ff85f85664e5e8ffd87218db3929f928d2ee1 (diff) | |
| download | cgit-md-filter-534db8e70e853e5703079c7f8d06af924b769070.tar.gz | |
Add license
License copied from /usr/local/man/man3/lowdown_file.3 from the lowdown-2.0.2 package on OpenBSD 7.8.
| -rw-r--r-- | filter.c | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -1,3 +1,26 @@ +/* + * Copyright (c) Kristaps Dzonsons <kristaps@bsd.lv> + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This is a near-verbatim copy of the example program provided in the + * lowdown_file(3) man page, which is distributed under the license above. The + * LOWDOWN_STANDALONE option has been removed so that the program outputs an + * HTML fragment rather than a full document. + */ + #include <err.h> #include <stdio.h> #include <stdlib.h> |