summaryrefslogtreecommitdiff
path: root/Base
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-09-11 13:36:43 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-11 15:17:44 +0200
commit0e3f5d37780f921a022885a909f8fce3689894fa (patch)
tree488c90f01bced87b225c6c4cc0ebe7c52f97c488 /Base
parent73e42917f9b0812b0e7b49a675820a7ddc8d43a4 (diff)
downloadserenity-0e3f5d37780f921a022885a909f8fce3689894fa.zip
Base: Fix Markdown links in man pages
Diffstat (limited to 'Base')
-rw-r--r--Base/usr/share/man/man1/checksum.md7
-rw-r--r--Base/usr/share/man/man1/chmod.md3
-rw-r--r--Base/usr/share/man/man1/chown.md5
-rw-r--r--Base/usr/share/man/man1/less.md2
l---------Base/usr/share/man/man1/md5sum.md1
l---------Base/usr/share/man/man1/sha1sum.md1
l---------Base/usr/share/man/man1/sha256sum.md1
l---------Base/usr/share/man/man1/sha512sum.md1
-rw-r--r--Base/usr/share/man/man3/getopt.md2
-rw-r--r--Base/usr/share/man/man4/mem.md8
-rw-r--r--Base/usr/share/man/man5/Shell.md2
11 files changed, 14 insertions, 19 deletions
diff --git a/Base/usr/share/man/man1/checksum.md b/Base/usr/share/man/man1/checksum.md
index 952e79659a..14f27bda03 100644
--- a/Base/usr/share/man/man1/checksum.md
+++ b/Base/usr/share/man/man1/checksum.md
@@ -13,10 +13,3 @@ checksum - helper program for calculating checksums
This program calculates and print specified checksum of files. It cannot be run directly, only
as `md5sum`, `sha1sum`, `sha256sum` or `sha512sum`.
-
-## See also
-
-* [`md5sum`(1)](md5sum.md)
-* [`sha1sum`(1)](sha1sum.md)
-* [`sha256sum`(1)](sha256sum.md)
-* [`sha512sum`(1)](sha512sum.md)
diff --git a/Base/usr/share/man/man1/chmod.md b/Base/usr/share/man/man1/chmod.md
index 9b4d042306..cf7b83950b 100644
--- a/Base/usr/share/man/man1/chmod.md
+++ b/Base/usr/share/man/man1/chmod.md
@@ -44,6 +44,5 @@ $ chmod g=r script.sh
## See also
-* [`chgrp`(1)](chmod.md)
+* [`chgrp`(1)](chgrp.md)
* [`chown`(1)](chown.md)
-* [`chmod`(2)](../man2/chmod.md)
diff --git a/Base/usr/share/man/man1/chown.md b/Base/usr/share/man/man1/chown.md
index a34233afc1..1fc0fd53d9 100644
--- a/Base/usr/share/man/man1/chown.md
+++ b/Base/usr/share/man/man1/chown.md
@@ -27,6 +27,5 @@ $ chown anon:anon file
## See also
-* [`chgrp`(1)](chmod.md)
-* [`chown`(1)](chown.md)
-* [`chmod`(2)](../man2/chmod.md)
+* [`chgrp`(1)](chgrp.md)
+* [`chmod`(1)](chmod.md)
diff --git a/Base/usr/share/man/man1/less.md b/Base/usr/share/man/man1/less.md
index 99f0b50bb9..50b78e87a3 100644
--- a/Base/usr/share/man/man1/less.md
+++ b/Base/usr/share/man/man1/less.md
@@ -19,7 +19,7 @@ but largely incompatible with
## Options
-* `-P`, `--prompt`: Set the prompt format string. See [Prompts](#Prompts) for more details.
+* `-P`, `--prompt`: Set the prompt format string. See [Prompts](#prompts) for more details.
* `-X`, `--no-init`: Don't switch to the xterm alternate buffer on startup.
* `-e`, `--quit-at-eof`: Immediately exit less when the last line of the document is reached.
* `-m`, `--emulate-more`: Apply `-Xe`, set the prompt to `--More--`, and disable
diff --git a/Base/usr/share/man/man1/md5sum.md b/Base/usr/share/man/man1/md5sum.md
new file mode 120000
index 0000000000..220a5d40cf
--- /dev/null
+++ b/Base/usr/share/man/man1/md5sum.md
@@ -0,0 +1 @@
+checksum.md \ No newline at end of file
diff --git a/Base/usr/share/man/man1/sha1sum.md b/Base/usr/share/man/man1/sha1sum.md
new file mode 120000
index 0000000000..220a5d40cf
--- /dev/null
+++ b/Base/usr/share/man/man1/sha1sum.md
@@ -0,0 +1 @@
+checksum.md \ No newline at end of file
diff --git a/Base/usr/share/man/man1/sha256sum.md b/Base/usr/share/man/man1/sha256sum.md
new file mode 120000
index 0000000000..220a5d40cf
--- /dev/null
+++ b/Base/usr/share/man/man1/sha256sum.md
@@ -0,0 +1 @@
+checksum.md \ No newline at end of file
diff --git a/Base/usr/share/man/man1/sha512sum.md b/Base/usr/share/man/man1/sha512sum.md
new file mode 120000
index 0000000000..220a5d40cf
--- /dev/null
+++ b/Base/usr/share/man/man1/sha512sum.md
@@ -0,0 +1 @@
+checksum.md \ No newline at end of file
diff --git a/Base/usr/share/man/man3/getopt.md b/Base/usr/share/man/man3/getopt.md
index 1059a5bb21..39869fe0b8 100644
--- a/Base/usr/share/man/man3/getopt.md
+++ b/Base/usr/share/man/man3/getopt.md
@@ -27,7 +27,7 @@ int getopt_long(int argc, char** argv, const char* short_options, const struct o
## Description
`getopt()` and `getopt_long()` parse options according to the syntax specified
-in [`getopt`(5)](../getopt.md). `getopt()` only supports short options;
+in [`getopt`(5)](../man5/getopt.md). `getopt()` only supports short options;
`getopt_long()` supports both short and long options.
One invocation of either function extracts at most one option from command line
diff --git a/Base/usr/share/man/man4/mem.md b/Base/usr/share/man/man4/mem.md
index 25412233b2..92980f667a 100644
--- a/Base/usr/share/man/man4/mem.md
+++ b/Base/usr/share/man/man4/mem.md
@@ -7,8 +7,8 @@ mem - physical system memory
`/dev/mem` is a character device file that is used by other programs to examine
the physical memory.
-Trying to [`mmap`(2)](../mmap.md) a physical range results either with success,
-or with an error. When invoking [`mmap`(2)](../mmap.md) on bad memory range,
+Trying to [`mmap`(2)](../man2/mmap.md) a physical range results either with success,
+or with an error. When invoking [`mmap`(2)](../man2/mmap.md) on bad memory range,
the kernel will write a message about it to the kernel log.
By default, the kernel limits the areas which can be accessed. The allowed areas
@@ -21,11 +21,11 @@ mknod /dev/mem c 1 1
chmod 660 /dev/mem
```
-## Returned error values after [`mmap`(2)](../mmap.md)
+## Returned error values after [`mmap`(2)](../man2/mmap.md)
* `EINVAL`: An access violation was detected.
* `ENOMEM`: The requested range would wrap around, creating an access violation.
## See also
-* [`mmap`(2)](../mmap.md)
+* [`mmap`(2)](../man2/mmap.md)
diff --git a/Base/usr/share/man/man5/Shell.md b/Base/usr/share/man/man5/Shell.md
index 29d2d041c4..858e01d6c5 100644
--- a/Base/usr/share/man/man5/Shell.md
+++ b/Base/usr/share/man/man5/Shell.md
@@ -57,7 +57,7 @@ Note that heredocs _must_ be listed in the same order as they are used after a s
##### Variable Reference
Any sequence of _Identifier_ characters, or a _Special Variable_ following a `$`.
-Variables may be followed by a _Slice_ (see [Slice](#Slice))
+Variables may be followed by a _Slice_ (see [Slice](#slice))
##### Slice
Variables may be sliced into, which will allow the user to select a subset of entries in the contents of the variable.