Browse Source

whereis, xar, yank: move to common (#6552)

marchersimon 3 years ago
parent
commit
e94e6af882

+ 0 - 0
pages.fa/linux/whereis.md → pages.fa/common/whereis.md


+ 0 - 0
pages.zh/osx/whereis.md → pages.zh/common/whereis.md


+ 0 - 0
pages.zh/osx/yank.md → pages.zh/common/yank.md


+ 0 - 0
pages/linux/whereis.md → pages/common/whereis.md


+ 0 - 0
pages/linux/xar.md → pages/common/xar.md


+ 0 - 0
pages/linux/yank.md → pages/common/yank.md


+ 0 - 19
pages/osx/whereis.md

@@ -1,19 +0,0 @@
-# whereis
-
-> Locate the binary, source, and manual page files for a command.
-
-- Locate binary, source and man pages for ssh:
-
-`whereis {{ssh}}`
-
-- Locate binary and man pages for ls:
-
-`whereis -bm {{ls}}`
-
-- Locate source of gcc and man pages for Git:
-
-`whereis -s {{gcc}} -m {{git}}`
-
-- Locate binaries for gcc in `/usr/bin/` only:
-
-`whereis -b -B {{/usr/bin/}} -f {{gcc}}`

+ 0 - 16
pages/osx/xar.md

@@ -1,16 +0,0 @@
-# xar
-
-> Manage .xar archives.
-> More information: <https://manned.org/xar>.
-
-- Create a xar archive of all files in a given directory:
-
-`xar -cf {{archive.xar}} {{path/to/directory}}`
-
-- Lis[t] the contents of a given xar archive:
-
-`xar -tf {{archive.xar}}`
-
-- Extract the contents of a given xar archive to the current directory:
-
-`xar -xf {{archive.xar}}`

+ 0 - 19
pages/osx/yank.md

@@ -1,19 +0,0 @@
-# yank
-
-> Read input from stdin and display a selection interface that allows a field to be selected and copied to the clipboard.
-
-- Yank using the default delimiters (\f, \n, \r, \s, \t):
-
-`{{sudo dmesg}} | yank`
-
-- Yank an entire line:
-
-`{{sudo dmesg}} | yank -l`
-
-- Yank using a specific delimiter:
-
-`{{echo hello=world}} | yank -d {{=}}`
-
-- Only yank fields matching a specific pattern:
-
-`{{ps ux}} | yank -g "{{[0-9]+}}"`