Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Axel Navarro <[email protected]>
  • Loading branch information
2 people authored and sbrl committed Apr 18, 2021
1 parent 3c2cf70 commit 9eb6123
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pages.zh/common/apg.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# apg

> 生成任意复杂度的随机密码.
> 更多信息: <https://manpages.debian.org/latest/apg/apg.1.html>.
> 更多信息: <https://manpages.debian.org/latest/apg/apg.1>.
- 生成随机密码 (默认密码长度为 8 位):

Expand Down
6 changes: 3 additions & 3 deletions pages/common/ar.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
- Extract all members from an archive:

`ar -x {{path/to/archive.a}}`
`ar -x {{path/to/file.a}}`

- List the members of an archive:

`ar -t {{path/to/archive.a}}`

- Replace or add files to an archive:

`ar -r {{path/to/archive.a}} {{path/to/file1.o}} {{path/to/file2.o}}`
`ar -r {{path/to/file.a}} {{path/to/file1.o}} {{path/to/file2.o}}`

- Insert an object file index (equivalent to using `ranlib`):

`ar -s {{path/to/archive.a}}`

- Create an archive with files and an accompanying object file index:

`ar -rs {{path/to/archive.a}} {{path/to/file1.o}} {{path/to/file2.o}}`
`ar -rs {{path/to/file.a}} {{path/to/file1.o}} {{path/to/file2.o}}`

0 comments on commit 9eb6123

Please sign in to comment.