Procházet zdrojové kódy

Base: Fix Markdown links in man pages

Ben Wiederhake před 3 roky
rodič
revize
0e3f5d3778

+ 0 - 7
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)

+ 1 - 2
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)

+ 2 - 3
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)

+ 1 - 1
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

+ 1 - 0
Base/usr/share/man/man1/md5sum.md

@@ -0,0 +1 @@
+checksum.md

+ 1 - 0
Base/usr/share/man/man1/sha1sum.md

@@ -0,0 +1 @@
+checksum.md

+ 1 - 0
Base/usr/share/man/man1/sha256sum.md

@@ -0,0 +1 @@
+checksum.md

+ 1 - 0
Base/usr/share/man/man1/sha512sum.md

@@ -0,0 +1 @@
+checksum.md

+ 1 - 1
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

+ 4 - 4
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)

+ 1 - 1
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.