strange output of manpage #2744
-
What did I do: export MANPAGER="sh -c 'col -bx | bat -l man -p'" What happened: $ man rm
4mRM24m(1) User Commands 4mRM24m(1)
1mNAME0m
rm - remove files or directories
1mSYNOPSIS0m
1mrm 22m[4mOPTION24m]... [4mFILE24m]...
1mDESCRIPTION0m
This manual page documents the GNU version of 1mrm22m. 1mrm 22mremoves each specified file. By default, it does not remove directories.
If the 4m-I24m or 4m--interactive=once24m option is given, and there are more than three files or the 4m-r24m, 4m-R24m, or 4m--recursive24m are given, then 1mrm 22mprompts the
user for whether to proceed with the entire operation. If the response is not affirmative, the entire command is aborted.
Otherwise, if a file is unwritable, standard input is a terminal, and the 4m-f24m or 4m--force24m option is not given, or the 4m-i24m or 4m--interactive=always24m option
is given, 1mrm 22mprompts the user for whether to remove the file. If the response is not affirmative, the file is skipped.
1mOPTIONS0m
Remove (unlink) the FILE(s).
1m-f22m, 1m--force0m
ignore nonexistent files and arguments, never prompt
1m-i 22mprompt before every removal
1m-I 22mprompt once before removing more than three files, or when removing recursively; less intrusive than 1m-i22m, while still giving protection against
most mistakes
1m--interactive22m[=4mWHEN24m]
prompt according to WHEN: never, once (1m-I22m), or always (1m-i22m); without WHEN, prompt always
1m--one-file-system0m
when removing a hierarchy recursively, skip any directory that is on a file system different from that of the corresponding command line argu‐
ment
1m--no-preserve-root0m
do not treat '/' specially
1m--preserve-root22m[=4mall24m]
do not remove '/' (default); with 'all', reject any command line argument on a separate device from its parent
1m-r22m, 1m-R22m, 1m--recursive0m
Manual page rm(1) line 1 (press h for help or q to quit) I have no idea what I am supposed to be doing. Bat version: $ bat --version
bat 0.24.0 (fc954685) OS informations: $ neofetch
-` nihil@wsl2-arch
.o+` ---------------
`ooo/ OS: Arch Linux on Windows 10 x86_64
`+oooo: Kernel: 5.15.90.1-microsoft-standard-WSL2
`+oooooo: Uptime: 5 mins
-+oooooo+: Packages: 579 (pacman)
`/:-:++oooo+: Shell: zsh 5.9
`/++++/+++++++: Theme: Adwaita [GTK2/3]
`/++++++++++++++: Icons: Adwaita [GTK2/3]
`/+++ooooooooooooo/` Terminal: Windows Terminal
./ooosssso++osssssso+` CPU: 11th Gen Intel i7-11700 (16) @ 2.495GHz
.oossssso-````/ossssss+` GPU: 16f2:00:00.0 Microsoft Corporation Basic Render Driver
-osssssso. :ssssssso. Memory: 399MiB / 15928MiB
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/ |
Beta Was this translation helpful? Give feedback.
Answered by
keith-hall
Nov 9, 2023
Replies: 1 comment 2 replies
-
Did you find a solution to this? I realize this is probably the same problem I have. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#2753 (comment)