ar86(1)
π ar86 β bestie's guide to archive files π
okay so this is the manual page for ar86, section 1 of the General Commands Manual β the lil archive wrangler from the Dev86/ELKS universe. it makes archives, it inspects archives, it edits archives, and it's lowkey iconic at all three. let's get into it π«Ά
β¨ NAME β¨
ar86 β create, modify, and extract from archive file. that's the whole vibe. no cap.
πΈ SYNOPSIS πΈ
ar86 operation archive [file...]
ar86 positional-op member archive [file...]
two moods: either you give it an operation, or you give it a positional operation plus the member it's positioning around. either way the archive comes next, and then optionally a whole list of files. π
π¦ DESCRIPTION π¦
so the ar86 program is what you use to create, examine and modify archive files that were produced by the Dev86/ELKS toolchain. that's it, that's the job. she's a specialist, not a generalist. periodt.
π OPTIONS π
okay so real talk β ar86 requires that the operation you want performed on the archive be specified as the first option. if the operation is a positional one, then the next option has to be the archive member that marks the position. after that comes the archive file name, and then any list of file names. order matters bestie, don't freestyle it π
π Operations π
one of these bad boys gets specified:
dβ delete the listed files from the archive. gone. bye. πmβ move the named files. by default they get moved to the end of the archive, unless a positional modifier is hanging around.pβ print the contents of archive members to standard out. if you include a file list, only those members get printed. and if thevmodifier is present, each file's contents get preceded by a new line, then a line with the stringmember, a space character, the member name, and two more newlines. very extra, very formatted β¨qβ quickly add the files to the end of the archive without checking to see if they already exist in the archive. this operation will ignore any positional modifiers, so don't even try it. creates the archive file if it doesn't exist. πrβ replace archive members with the files listed. if a file name isn't present in the archive, it gets added to the end of the archive (or to any explicitly specified position). creates the archive file if it doesn't exist. the classic πtβ table; list the file names of archive members. if a file list is present, only those files that are actually in the archive get listed. thevmodifier prints member attributes. this is the "who's in there" check πxβ extract the named files from the archive into the current directory. if no files are specified, all the archive members get extracted. surprise, it's everyone πΈ
π Modifiers π
these can be used with the operations:
oβ original time stamps from the archive are preserved for extracted files when possible. nostalgia preservation, love that for us π°οΈsβ symbol update; this option can be used by itself to force an update to the symbol definition section of the archive (that's the__.SYMDEFmember, iykyk). if any files are specified, they get replaced as if theroperation had been specified. if no symbol definition section exists, one gets created. this option will also create the archive file if it does not exist. she does it all π«Άuβ update files in the archive during anr(replace) operation. the files get added to the archive in exactly the same manner as replace, except that an existing archive member will be retained in its original position if it has a modified more recently than the file being added. heads up though: this modifier acts as if anroperation has been specified (even if it hasn't!), and it will actually override any other previously specified operation. she's bossy like that πvβ verbose; print additional diagnostic messages while processing the archive. the yapper modifier π¬
π Positional Modifiers π
these specify where in the archive files get moved to or added. and listen β if any of these are specified, then the second option to ar86 must be the name of an archive member. no exceptions bestie.
aβ after; files are placed after the specified archive member.bβ before; files are placed before the specified archive member.iβ same asb. literally the same. twin behavior π―
β EXAMPLES β
to see the contents of an archive:
ar86 tv libfile.a
to add some files to an archive:
ar86 r libfile.a file1.o file2.o
to add some files after a member named mem.o and to update the symbol table:
ar86 rsa mem.o libfile.a file1.o file2.o
look at that stacked modifier action. r, s, and a all in one. ate π
π BUGS π
a l modifier will be accepted but ignored. she'll take it, she just won't do anything with it. respectfully π
π§ RESTRICTIONS π§
this command is intended for use only with object files created using the Dev86/ELKS toolchain. don't bring random files to this party, she will not know them. π
π₯ SEE ALSO π₯
as86(1), bcc(1), ld86(1) β the rest of the friend group, go say hi π«Ά
π AUTHORS π
Β© 1988, 1990 Free Software Foundation Inc. Changes for ar86 by Greg Haerr <greg@censoft.com>. legends, honestly π
π COPYRIGHT π
the manual page was written for Debian GNU/Linux, Β© 2006 Shyamal Prasad <shyamal@member.fsf.org>. it is distributed under the terms of the GNU General Public License version 2 (or any later version released by the Free Software Foundation). respect the license bestie, it's the law π
and that's the whole page!! this was ar86(1) from the General Commands Manual, dated May, 2006, living in the Dev86/ELKS toolchain corner of the world. go archive something cute. mwah π
π¦ where this page comes from
- debian trixie: bin86 0.16.21-2
- ubuntu resolute: bin86 0.16.21-2
- ubuntu stonking: bin86 1.0.1+git20260515.8cf785f-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms