Skip to content

Commit

Permalink
Data update 2023-08-29 12-19-02
Browse files Browse the repository at this point in the history
  • Loading branch information
1010bots committed Aug 29, 2023
1 parent 34d246f commit fc9cd57
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 2 deletions.
7 changes: 6 additions & 1 deletion docs/en/common/objdump.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
layout: page
title: common/objdump (English)
description: "View information about object files."
content_hash: 73f43ea0c9a56a544fd2ce013073d7a7683b9f49
content_hash: 8180947faeca8208d725dff39cb22fcd485753c0
last_modified_at: 2023-08-29
---
# objdump

Expand All @@ -13,6 +14,10 @@ More information: <https://manned.org/objdump>.

`objdump -f `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">binary</span>

- Display all header information:

`objdump -x `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">binary</span>

- Display the disassembled output of executable sections:

`objdump -d `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">binary</span>
Expand Down
18 changes: 18 additions & 0 deletions docs/en/common/shar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
layout: page
title: common/shar (English)
description: "Create a shell archive."
content_hash: 7de684f3b540c034a97fe8bf1607724f64aec332
last_modified_at: 2023-08-29
---

This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while.

<hr># shar

Create a shell archive.
More information: <https://manned.org/man/freebsd/shar>.

- Create a shell script that when executed extracts the given files from itself:

`shar `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/file1 path/to/file2 ...</span>` > `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/archive.sh</span>
34 changes: 34 additions & 0 deletions docs/en/linux/shar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
layout: page
title: linux/shar (English)
description: "Create a shell archive."
content_hash: 9853bd8fd74f0005a8863846e33d2843436924f8
last_modified_at: 2023-08-29
---

This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while.

<hr># shar

Create a shell archive.
More information: <https://www.gnu.org/software/sharutils/manual/sharutils.html>.

- Create a shell script that when executed extracts the given files from itself:

`shar --vanilla-operation `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/file1 path/to/file2 ...</span>` > `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/archive.sh</span>

- Compress the files in the archive:

`shar --compactor `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">xz</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/file1 path/to/file2 ...</span>` > `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/archive.sh</span>

- Treat all files as binary (i.e. `uuencode` everything):

`shar --uuencode `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/file1 path/to/file2 ...</span>` > `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/archive.sh</span>

- Treat all files as text (i.e. `uuencode` nothing):

`shar --text-files `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/file1 path/to/file2 ...</span>` > `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/archive.sh</span>

- Include a name and cut mark in the header comment of the archive:

`shar --archive-name "`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">My files</span>`" --cut-mark `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/file1 path/to/file2 ...</span>` > `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/archive.sh</span>
2 changes: 1 addition & 1 deletion source

0 comments on commit fc9cd57

Please sign in to comment.