1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 17:33:38 +02:00

GNU tools: use single page documentation (#17641)

This commit is contained in:
Managor 2025-08-16 10:31:07 +03:00 committed by GitHub
parent cd86a603e3
commit 67b11902c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 33 additions and 33 deletions

View file

@ -2,7 +2,7 @@
> Bourne-Again SHell, an `sh`-compatible command-line interpreter.
> See also: `zsh`, `histexpand` (history expansion).
> More information: <https://www.gnu.org/software/bash/manual/html_node/Invoking-Bash.html>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#Invoking-Bash>.
- Start an interactive shell session:

View file

@ -1,7 +1,7 @@
# cmp
> Compare two files byte by byte.
> More information: <https://www.gnu.org/software/diffutils/manual/html_node/Invoking-cmp.html>.
> More information: <https://www.gnu.org/software/diffutils/manual/diffutils.html#Invoking-cmp>.
- Output char and line number of the first difference between two files:

View file

@ -1,7 +1,7 @@
# complete
> Get argument autocompletion to shell commands.
> More information: <https://www.gnu.org/software/bash/manual/html_node/Programmable-Completion-Builtins.html#index-complete>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-complete>.
- Apply a function that performs autocompletion to a command:

View file

@ -2,7 +2,7 @@
> Substitutes environment variables with their value in shell format strings.
> Variables to be replaced should be in either `${var}` or `$var` format.
> More information: <https://www.gnu.org/software/gettext/manual/html_node/envsubst-Invocation.html>.
> More information: <https://www.gnu.org/software/gettext/manual/gettext.html#envsubst-Invocation>.
- Replace environment variables in `stdin` and output to `stdout`:

View file

@ -3,7 +3,7 @@
> Translates a string using stored translations in a compiled `.mo` file.
> Translations are stored in `/usr/share/locale/<locale_name>/LC_MESSAGES/` with `domain` being the filename without its extension.
> See also: `msgfmt`, `msgunfmt`.
> More information: <https://www.gnu.org/software/gettext/manual/html_node/gettext-Invocation.html>.
> More information: <https://www.gnu.org/software/gettext/manual/gettext.html#gettext-Invocation>.
- Get the translation of a string as specified in the domain file (falls back to given `msgid` if no translation exists):

View file

@ -1,7 +1,7 @@
# hello
> Print "Hello, world!", "hello, world" or a customizable text.
> More information: <https://www.gnu.org/software/hello/manual/html_node/Invoking-hello.html>.
> More information: <https://www.gnu.org/software/hello/manual/hello.html#Invoking-hello>.
- Print "Hello, world!":

View file

@ -1,7 +1,7 @@
# history
> Manage command-line history.
> More information: <https://www.gnu.org/software/bash/manual/html_node/Bash-History-Builtins.html#index-history>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-history>.
- Display the commands history list with line numbers:

View file

@ -2,7 +2,7 @@
> IFS (Internal Field Separator) is a special environment variable that defines the delimiter used for word splitting in Unix shells.
> The default value of IFS is a space, tab, and newline. The three characters serve as delimiters.
> More information: <https://www.gnu.org/software/bash/manual/html_node/Word-Splitting.html>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#Word-Splitting>.
- View the current IFS value:

View file

@ -2,7 +2,7 @@
> Concatenate and merge multiple `.po` translation files.
> Useful in software localization pipelines to combine message catalogs with filtering options.
> More information: <https://www.gnu.org/software/gettext/manual/html_node/msgcat-Invocation.html>.
> More information: <https://www.gnu.org/software/gettext/manual/gettext.html#msgcat-Invocation>.
- Combine multiple `.po` files into one:

View file

@ -1,7 +1,7 @@
# msgfmt
> Compile message catalog to binary format.
> More information: <https://www.gnu.org/software/gettext/manual/html_node/msgfmt-Invocation.html>.
> More information: <https://www.gnu.org/software/gettext/manual/gettext.html#msgfmt-Invocation>.
- Compile a file to `messages.mo`:

View file

@ -1,7 +1,7 @@
# msginit
> Generate language specific translation files based on Portable Object Templates.
> More information: <https://www.gnu.org/software/gettext/manual/html_node/msginit-Invocation.html>.
> More information: <https://www.gnu.org/software/gettext/manual/gettext.html#msginit-Invocation>.
- Generate Portable Object files in system locale from `messages.pot`:

View file

@ -1,7 +1,7 @@
# msgmerge
> Update an existing translation file from a new template.
> More information: <https://www.gnu.org/software/gettext/manual/html_node/msgmerge-Invocation.html>.
> More information: <https://www.gnu.org/software/gettext/manual/gettext.html#msgmerge-Invocation>.
- Update a translation file:

View file

@ -1,7 +1,7 @@
# msgunfmt
> Decompile message catalog from the binary format.
> More information: <https://www.gnu.org/software/gettext/manual/html_node/msgunfmt-Invocation.html>.
> More information: <https://www.gnu.org/software/gettext/manual/gettext.html#msgunfmt-Invocation>.
- Output conversion:

View file

@ -2,7 +2,7 @@
> Remove a directory placed on the directory stack via the pushd shell built-in.
> See also: `pushd` to place a directory on the stack and `dirs` to display directory stack contents.
> More information: <https://www.gnu.org/software/bash/manual/html_node/Directory-Stack-Builtins.html#index-popd>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-popd>.
- Remove the top directory from the stack and cd to it:

View file

@ -2,7 +2,7 @@
> Place a directory on a stack so it can be accessed later.
> See also: `popd` to switch back to original directory and `dirs` to display directory stack contents.
> More information: <https://www.gnu.org/software/bash/manual/html_node/Directory-Stack-Builtins.html#index-pushd>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-pushd>.
- Switch to directory and push it on the stack:

View file

@ -3,7 +3,7 @@
> Restricted Bash shell, equivalent to `bash --restricted`.
> Does not permit changing the working directory, redirecting command output, or modifying environment variables, among other things.
> See also: `histexpand` for history expansion.
> More information: <https://www.gnu.org/software/bash/manual/html_node/The-Restricted-Shell>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#The-Restricted-Shell>.
- Start an interactive shell session:

View file

@ -2,7 +2,7 @@
> Manage Bash shell options: variables (stored in `$BASHOPTS`) that control behavior specific to the Bash shell.
> Generic POSIX shell variables (stored in `$SHELLOPTS`) are managed with the `set` command instead.
> More information: <https://www.gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#The-Shopt-Builtin>.
- List of all settable options and whether they are set:

View file

@ -3,7 +3,7 @@
> Symlink manager.
> Often used to manage dotfiles.
> See also: `chezmoi`, `tuckr`, `vcsh`, `homeshick`.
> More information: <https://www.gnu.org/software/stow/manual/html_node/Invoking-Stow.html>.
> More information: <https://www.gnu.org/software/stow/manual/stow.html#Invoking-Stow>.
- Symlink all files recursively to a given directory:

View file

@ -1,7 +1,7 @@
# wdiff
> Display word differences between text files.
> More information: <https://www.gnu.org/software/wdiff/manual/html_node/wdiff-invocation.html#wdiff-invocation>.
> More information: <https://www.gnu.org/software/wdiff/manual/wdiff.html#wdiff-invocation>.
- Compare two files:

View file

@ -1,7 +1,7 @@
# xgettext
> Extract gettext strings from code files.
> More information: <https://www.gnu.org/software/gettext/manual/html_node/xgettext-Invocation.html>.
> More information: <https://www.gnu.org/software/gettext/manual/gettext.html#xgettext-Invocation>.
- Scan file and output strings to `messages.po`:

View file

@ -1,7 +1,7 @@
# datamash
> Perform basic numeric, textual and statistical operations on input textual data files.
> More information: <https://www.gnu.org/software/datamash/manual/html_node/Invoking-datamash.html>.
> More information: <https://www.gnu.org/software/datamash/manual/datamash.html#Invoking-datamash>.
- Get max, min, mean and median of a single column of numbers:

View file

@ -1,7 +1,7 @@
# diff3
> Compare three files line by line.
> More information: <https://www.gnu.org/software/diffutils/manual/html_node/Invoking-diff3.html>.
> More information: <https://www.gnu.org/software/diffutils/manual/diffutils.html#Invoking-diff3>.
- Compare files:

View file

@ -2,7 +2,7 @@
> Show the system's DNS domain name.
> Note: The tool uses `gethostname` to get the hostname of the system and then `getaddrinfo` to resolve it into a canonical name.
> More information: <https://www.gnu.org/software/inetutils/manual/html_node/dnsdomainname-invocation.html>.
> More information: <https://www.gnu.org/software/inetutils/manual/inetutils.html#dnsdomainname-invocation>.
- Show the system's DNS domain name:

View file

@ -1,7 +1,7 @@
# grub-install
> Install GRUB to a device.
> More information: <https://www.gnu.org/software/grub/manual/grub/html_node/Installing-GRUB-using-grub_002dinstall.html>.
> More information: <https://www.gnu.org/software/grub/manual/grub/grub.html#Installing-GRUB-using-grub_002dinstall>.
- Install GRUB on a BIOS system:

View file

@ -1,7 +1,7 @@
# grub-mkconfig
> Generate a GRUB configuration file.
> More information: <https://www.gnu.org/software/grub/manual/grub/html_node/Invoking-grub_002dmkconfig.html>.
> More information: <https://www.gnu.org/software/grub/manual/grub/grub.html#Invoking-grub_002dmkconfig>.
- Do a dry run and print the configuration to `stdout`:

View file

@ -2,7 +2,7 @@
> The program `grub-script-check` takes a GRUB script file and checks it for syntax errors.
> It may take a path as a non-option argument. If none is supplied, it will read from `stdin`.
> More information: <https://www.gnu.org/software/grub/manual/grub/html_node/Invoking-grub_002dscript_002dcheck.html>.
> More information: <https://www.gnu.org/software/grub/manual/grub/grub.html#Invoking-grub_002dscript_002dcheck>.
- Check a specific script file for syntax errors:

View file

@ -1,7 +1,7 @@
# guix package
> Install, upgrade and remove Guix packages, or rollback to previous configurations.
> More information: <https://guix.gnu.org/manual/html_node/Invoking-guix-package.html>.
> More information: <https://guix.gnu.org/manual/en/guix.html#Invoking-guix-package>.
- Install a new package:

View file

@ -2,7 +2,7 @@
> A partition manipulation program.
> See also: `parted.interactive`, `partprobe`.
> More information: <https://www.gnu.org/software/parted/manual/html_node/Invoking-Parted.html>.
> More information: <https://www.gnu.org/software/parted/manual/parted.html#Invoking-Parted>.
- List partitions on all block devices:

View file

@ -2,7 +2,7 @@
> Copy files between local and remote systems.
> It mimics the behavior of the `cp` command but operates across different machines.
> More information: <https://www.gnu.org/software/inetutils/manual/html_node/rcp-invocation.html>.
> More information: <https://www.gnu.org/software/inetutils/manual/inetutils.html#rcp-invocation>.
- Copy a file to a remote host:

View file

@ -2,7 +2,7 @@
> Execute a command on a remote host.
> Note: Use `rexec` with caution, as it transmits data in plain text. Consider secure alternatives like SSH for encrypted communication.
> More information: <https://www.gnu.org/software/inetutils/manual/html_node/rexec-invocation.html>.
> More information: <https://www.gnu.org/software/inetutils/manual/inetutils.html#rexec-invocation>.
- Execute a command on a remote host:

View file

@ -1,7 +1,7 @@
# rlogin
> Log in to a remote host.
> More information: <https://www.gnu.org/software/inetutils/manual/html_node/rlogin-invocation.html>.
> More information: <https://www.gnu.org/software/inetutils/manual/inetutils.html#rlogin-invocation>.
- Log in to a remote host:

View file

@ -1,7 +1,7 @@
# rsh
> Execute commands on a remote host.
> More information: <https://www.gnu.org/software/inetutils/manual/html_node/rsh-invocation.html>.
> More information: <https://www.gnu.org/software/inetutils/manual/inetutils.html#rsh-invocation>.
- Execute a command on a remote host:

View file

@ -1,7 +1,7 @@
# talk
> A visual communication program which copies lines from your terminal to that of another user.
> More information: <https://www.gnu.org/software/inetutils/manual/html_node/talk-invocation.html>.
> More information: <https://www.gnu.org/software/inetutils/manual/inetutils.html#talk-invocation>.
- Start a talk session with a user on the same machine: