From e94e6af88289f26bf25c85b45971f240f56d8672 Mon Sep 17 00:00:00 2001 From: marchersimon <50295997+marchersimon@users.noreply.github.com> Date: Sun, 19 Sep 2021 02:59:20 +0200 Subject: [PATCH] whereis, xar, yank: move to common (#6552) --- pages.fa/{linux => common}/whereis.md | 0 pages.zh/{osx => common}/whereis.md | 0 pages.zh/{osx => common}/yank.md | 0 pages/{linux => common}/whereis.md | 0 pages/{linux => common}/xar.md | 0 pages/{linux => common}/yank.md | 0 pages/osx/whereis.md | 19 ------------------- pages/osx/xar.md | 16 ---------------- pages/osx/yank.md | 19 ------------------- 9 files changed, 54 deletions(-) rename pages.fa/{linux => common}/whereis.md (100%) rename pages.zh/{osx => common}/whereis.md (100%) rename pages.zh/{osx => common}/yank.md (100%) rename pages/{linux => common}/whereis.md (100%) rename pages/{linux => common}/xar.md (100%) rename pages/{linux => common}/yank.md (100%) delete mode 100644 pages/osx/whereis.md delete mode 100644 pages/osx/xar.md delete mode 100644 pages/osx/yank.md diff --git a/pages.fa/linux/whereis.md b/pages.fa/common/whereis.md similarity index 100% rename from pages.fa/linux/whereis.md rename to pages.fa/common/whereis.md diff --git a/pages.zh/osx/whereis.md b/pages.zh/common/whereis.md similarity index 100% rename from pages.zh/osx/whereis.md rename to pages.zh/common/whereis.md diff --git a/pages.zh/osx/yank.md b/pages.zh/common/yank.md similarity index 100% rename from pages.zh/osx/yank.md rename to pages.zh/common/yank.md diff --git a/pages/linux/whereis.md b/pages/common/whereis.md similarity index 100% rename from pages/linux/whereis.md rename to pages/common/whereis.md diff --git a/pages/linux/xar.md b/pages/common/xar.md similarity index 100% rename from pages/linux/xar.md rename to pages/common/xar.md diff --git a/pages/linux/yank.md b/pages/common/yank.md similarity index 100% rename from pages/linux/yank.md rename to pages/common/yank.md diff --git a/pages/osx/whereis.md b/pages/osx/whereis.md deleted file mode 100644 index c3a44bce1..000000000 --- a/pages/osx/whereis.md +++ /dev/null @@ -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}}` diff --git a/pages/osx/xar.md b/pages/osx/xar.md deleted file mode 100644 index 7c6ca149f..000000000 --- a/pages/osx/xar.md +++ /dev/null @@ -1,16 +0,0 @@ -# xar - -> Manage .xar archives. -> More information: . - -- 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}}` diff --git a/pages/osx/yank.md b/pages/osx/yank.md deleted file mode 100644 index d6741a09f..000000000 --- a/pages/osx/yank.md +++ /dev/null @@ -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]+}}"`