[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.1.48 Unpack

Syntax:
Unpack "<call>" <offset> <matchcode>
Example:
Unpack "unzip -joLqq $a -d $p" 0 504b0304

This statement sets the call of certain unpackers according to a id in the archive file

call: see pack

offset: position of recognition string in packed file.

match code: recognition string for packed file, ?? can be used as don't care

$a will be replaced by the archive file.

$p will be replaced by the temp inbound path.

 
e.g.: unpack "unzip -joLqq $a -d $p" 0 504b0304

       files packed by zip can be recognized by
         504b0304(hex) at offset 0(integer)
       they can be unpacked by "unzip -joLqq  -d <path>"

This statement can be repeated.



This document was generated by Pavel Andreew on August, 28 2002 using texi2html