diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2021-09-11 14:06:29 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-11 15:17:44 +0200 |
commit | f2ba7ac9353558b8d4f89155113adee5dd3304c9 (patch) | |
tree | 682e59b526dccc6968bad7233c290cc01051f296 /Base/usr | |
parent | 6fe82889fbf260f49af054eaa5e5b3fa3fed4475 (diff) | |
download | serenity-f2ba7ac9353558b8d4f89155113adee5dd3304c9.zip |
Base: Fix Markdown formatting in links to man pages
A quick grep revealed these stats (counting only the first occurrence
per line):
`thing`(1): 154
`thing(1)`: 9
thing(1): 4
This commit converts all occurrences to the `thing`(1) format.
Diffstat (limited to 'Base/usr')
-rw-r--r-- | Base/usr/share/man/man1/less.md | 4 | ||||
-rw-r--r-- | Base/usr/share/man/man1/man.md | 2 | ||||
-rw-r--r-- | Base/usr/share/man/man1/more.md | 4 | ||||
-rw-r--r-- | Base/usr/share/man/man2/pledge.md | 16 |
4 files changed, 13 insertions, 13 deletions
diff --git a/Base/usr/share/man/man1/less.md b/Base/usr/share/man/man1/less.md index fb2ad84e60..3ce6a66b63 100644 --- a/Base/usr/share/man/man1/less.md +++ b/Base/usr/share/man/man1/less.md @@ -74,5 +74,5 @@ All other characters are treated normally. ## See Also -* [more(1)](more.md) For a simpler pager that less implements. -* [man(1)](man.md) For serenity's manual pager, that uses less. +* [`more`(1)](more.md) For a simpler pager that less implements. +* [`man`(1)](man.md) For serenity's manual pager, that uses less. diff --git a/Base/usr/share/man/man1/man.md b/Base/usr/share/man/man1/man.md index bcb6bab69e..3f5ee872ec 100644 --- a/Base/usr/share/man/man1/man.md +++ b/Base/usr/share/man/man1/man.md @@ -53,4 +53,4 @@ this man page should be located at `/usr/share/man/man1/man.md`. ## See Also -* [less(1)](less.md) For the terminal pager that `man` uses by default
\ No newline at end of file +* [`less`(1)](less.md) For the terminal pager that `man` uses by default diff --git a/Base/usr/share/man/man1/more.md b/Base/usr/share/man/man1/more.md index cd9f1b599e..3a5ea1b24f 100644 --- a/Base/usr/share/man/man1/more.md +++ b/Base/usr/share/man/man1/more.md @@ -11,7 +11,7 @@ $ more ## Description `more` reads data from standard input and prints it to standard output, screen by screen. -`more` is a symlink for [`less(1)`](less.md), which has a more emulation mode. +`more` is a symlink for [`less`(1)](less.md), which has a more emulation mode. ## Examples @@ -23,4 +23,4 @@ $ more ## See Also -* [less(1)](less.md) For the more advanced terminal pager that implements more.
\ No newline at end of file +* [`less`(1)](less.md) For the more advanced terminal pager that implements more. diff --git a/Base/usr/share/man/man2/pledge.md b/Base/usr/share/man/man2/pledge.md index 2819062bb1..98ae515c6b 100644 --- a/Base/usr/share/man/man2/pledge.md +++ b/Base/usr/share/man/man2/pledge.md @@ -20,7 +20,7 @@ Note that `pledge()` can be called repeatedly to remove previously-pledged promi `promises` are applied to the current process, and will also be inherited by children created by [`fork`(2)](fork.md). -`execpromises` are applied if/when a new process image is created with [`exec(2)`](exec.md). +`execpromises` are applied if/when a new process image is created with [`exec`(2)](exec.md). If `promises` or `execpromises` is null, the corresponding value is unchanged. @@ -35,26 +35,26 @@ If the process later attempts to use any system functionality it has previously * `id`: Ability to change UID/GID * `tty`: TTY related functionality * `proc`: Process and scheduling related functionality -* `exec`: The [`exec(2)`](exec.md) syscall +* `exec`: The [`exec`(2)](exec.md) syscall * `unix`: UNIX local domain sockets * `inet`: IPv4 domain sockets -* `accept`: May use [`accept(2)`](accept.md) to accept incoming socket connections on already listening sockets (\*) +* `accept`: May use [`accept`(2)](accept.md) to accept incoming socket connections on already listening sockets (\*) * `rpath`: "Read" filesystem access * `wpath`: "Write" filesystem access * `cpath`: "Create" filesystem access * `dpath`: Creating new device files * `chown`: Changing file owner/group * `fattr`: Changing file attributes/permissions -* `chroot`: The [`chroot(2)`](chroot.md) syscall (\*) -* `video`: May use [`ioctl(2)`](ioctl.md) and [`mmap(2)`](mmap.md) on framebuffer video devices +* `chroot`: The [`chroot`(2)](chroot.md) syscall (\*) +* `video`: May use [`ioctl`(2)](ioctl.md) and [`mmap`(2)](mmap.md) on framebuffer video devices * `settime`: Changing the system time and date * `setkeymap`: Changing the system keyboard layout (\*) * `sigaction`: Change signal handlers and dispositions (\*) * `sendfd`: Send file descriptors over a local socket * `recvfd`: Receive file descriptors over a local socket -* `ptrace`: The [`ptrace(2)`](ptrace.md) syscall (\*) -* `prot_exec`: [`mmap(2)`](mmap.md) and [`mprotect(2)`](mprotect.md) with `PROT_EXEC` -* `map_fixed`: [`mmap(2)`](mmap.md) with `MAP_FIXED` (\*) +* `ptrace`: The [`ptrace`(2)](ptrace.md) syscall (\*) +* `prot_exec`: [`mmap`(2)](mmap.md) and [`mprotect`(2)](mprotect.md) with `PROT_EXEC` +* `map_fixed`: [`mmap`(2)](mmap.md) with `MAP_FIXED` (\*) Promises marked with an asterisk (\*) are SerenityOS specific extensions not supported by the original OpenBSD `pledge()`. |