Short: extract old .arc and .ark archives Author: Russell Marks Uploader: aGGreSSor/CPU (amitrans narod ru) Type: util/arc Version: 1.4 Requires: ABIv0; i386; InstallerLG Architecture: i386-aros Distribution: aminet ============================== F E A T U R E S ============================== nomarch lists/extracts/tests `.arc' archives. (It also handles `.ark' files, they're exactly the same.) This is a *very* outdated file format which should never be used for anything new, but unfortunately, you can still run into it every so often (especially if you mess about with old CP/M stuff). So nomarch is handy as a way to deal with these files. ============================ R E Q U I R E M E N T ========================== nomarch tested and worked fine on the following configurations: - IcarOS i386 (Kickstart 51.51, Workbench 40.0, AROS ABIv0) - AROS One i386 (Kickstart 51.51, Workbench 40.0, AROS ABIv0) ================================= U S A G E ================================= nomarch [-hlptUv] [archive.arc] [match1 [match2 ... ]] OPTIONS -h give terse usage help. -l list files in archive. If verbose listings are enabled, it shows the filename, compression method, compressed/uncompressed size, date/time, and CRC; but by default, it just shows the filename, uncompressed size, and date/time. -p extract to standard output, rather than to separate files. -t test files in archive (more precisely, check file CRCs). -U use uppercase filenames; more precisely, preserve original case from archive. -v give verbose output (when used with `-l'). [archive.arc] - the archive to operate on. [match1 [etc.]] - optionally specify which archive members to list/extract/test. Those which match any of these filenames/wildcards are processed. Wildcard operators supported are shell-like `*' and `?', but don't forget to quote arguments which use these (e.g. `nomarch foo.arc '*.bar''). EXTRACTING MULTIPLE ARCHIVES nomarch follows the `unzip'-like practice of working on only one archive per run, with further `filenames' given on the command-line actually specifying files to extract (or whatever). The easiest way to work on multiple files with nomarch is simply to run it multiple times using for; for example (bash): for i in *.arc; do nomarch $i; done The above would extract all archives in the current directory. BUGS The CRC used by the format is only 16-bit, so `-t' is a less-than-perfect test. One compression method, obsolete even by `.arc' standards :-), isn't supported yet. This is partly because I've yet to find a single file which uses it, despite testing an awful lot of files. Subdirectories in Spark archives are extracted as the `.arc'-format files they really are, which may not be terribly convenient. ================================ S O U R C E ================================ Backport from aminet: http://aminet.net/package/util/arc/nomarch_68k http://aminet.net/package/util/arc/nomarch_aos4 AROS compiled by ______ ______ ______ ______ ______|:: .__|:: .__|_____ ______|:: ___|:: ___|______ _____ |: , |: | |: | |: ,_|: ,__|:___ |:___ |: - |: ,_| |__|___|______|______|___| _____|______|______|______|___| home cross-compilation factory