[pups] extract old archive format?
Bob Eager
rde at tavi.co.uk
Fri Apr 9 03:09:03 AEST 2010
On Thu, 8 Apr 2010 08:25:29 -0500 (CDT)
"Jeremy C. Reed" <reed at reedmedia.net> wrote:
> Anyone know what tool I can use on a modern *BSD or Linux system to
> extract the files from an "old PDP-11" ar archive?
>
> GNU ar complains "File format not recognized". ar tells me:
>
> ar: supported targets: elf64-x86-64 elf32-i386 a.out-i386-netbsd
> coff-i386 efi-app-ia32 elf64-little elf64-big elf32-little elf32-big
> srec symbolsrec tekhex binary ihex netbsd-core
The 'ar' format of that vintage is trivial, and documentation easily
found. I wrote programs to read it back in 1976!
A simple C program, or even an awk script, should do it.
--
Bob
More information about the TUHS
mailing list