Formatted all pages according to guidelines.

This commit is contained in:
Ruben Vereecken
2016-01-07 18:31:27 +01:00
parent efa4cbd4de
commit 066582e8ea
284 changed files with 1338 additions and 1364 deletions

View File

@@ -1,23 +1,23 @@
# ar
> Create, modify, and extract from archives (.a .so .o)
> Create, modify, and extract from archives (.a .so .o).
- Extract all members from an archive
- Extract all members from an archive:
`ar -x {{libfoo.a}}`
- List the members of an archive
- List the members of an archive:
`ar -t {{libfoo.a}}`
- Replace or add files to an archive
- Replace or add files to an archive:
`ar -r {{libfoo.a}} {{foo.o}} {{bar.o}} {{baz.o}}`
- Insert an object file index (equivalent to using `ranlib`)
- Insert an object file index (equivalent to using `ranlib`):
`ar -s {{libfoo.a}}`
- Create an archive with files and an accompanying object file index
- Create an archive with files and an accompanying object file index:
`ar -rs {{libfoo.a}} {{foo.o}} {{bar.o}} {{baz.o}}`