⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lha255.txt

📁 组合学习算法的新方法--随机森林(Random Forest,RF),用于处理高维问题,可以得到满意的效果!
💻 TXT
📖 第 1 页 / 共 3 页
字号:
------------------------------------------------------------------------
                         LHA Version 2.55E Manual
                                               Ver 2.55  Jan. 04, 1996
------------------------------------------------------------------------
                          Haruyasu Yoshizaki   SDI00506@niftyserve.or.jp    
                           		       pcs02846@asciinet.or.jp
                         		       FEM12376@pcvan.or.jp
------------------------------------------------------------------------
Translated and Edited by: Hitoshi Ozawa        h_ozawa@bekkoame.or.jp
                          homepage:  http://www.bekkoame.or.jp/~h_ozawa/
------------------------------------------------------------------------

0. Liability
-----------------
    The author and the developer of this software will not take
    responsibility for any damage that may result from the use of this
    software.  The files contained in LHA255.EXE are distributed "as is"
    and without any expressed and implied warranties.  The user assumes
    the entire risk of using the software.

1.  Introduction
-----------------
     LHarc, a precursor to the LHA file utility, became one of the
     standard file compression/extraction utility in Japan despite its
     slowness. I am also pleased that some overseas users have taken
     to using this tool.

     I, however, have continued on my research for a new compression
     algorithm even after releasing LHarc to the public. The fruit of
     my two years of research is incorporated in the new utility, LHA
     which I would now like to make public.
                                              (Feb. 24, 1991 Yoshizaki)
     Differences between LHA and LHarc:
     ----------------------------------
     Improvements:
     - Higher compression
       LHA offers a higher compression rate than LHarc especially when
       compressing large files. On the other hand, compression rate is
       worse for files smaller than few hundred bytes.
     - Faster file extraction
       Extraction algorithm was changed to static Huffman algorith from
       dynamic Huffman algorithm to decrease file extraction time.
       Nevertheless, compression time did not decrease as much as I
       expected.
     Degradation:
     - Increased memory usage
       LHA requires more memory. Use caution when executing LHA from
       another program or in a child process. When LHA detects memory
       shortage, it will try to continue by decreasing compression rate.
     - Only upward compatible with LHarc
       Files compressed by LHA can not be extracted by LHarc. However,
       files compressed by LHarc may be extracted by LHA.

2. Copyright
-----------------
     LHA is copyrighted by Haruyasu Yoshizaki.

     Microsoft is a registered trademark and MS-DOS is a trademark of
     Microsoft Corporation in the United States of America and other
     countries.  Other brand and product names are trademarks or
     registered trademarks of their respective holders.

3. Simple Usage Examples
-------------------------
  To extract files with directories:
     lha x [archive file name]
     NOTE: Extension should be specified with archive file name.
     Example: lha x temp.lzh
               The above command extracts all files contained in archive
                file TEMP.LZH.
  To archive files to an archive file:
     lha a [archive file name] [file name]
     NOTE: Do not specify archive file name extension. Archived files
           are created with extension LZH.
     Example: lha a temp test1.txt test2.txt
           The above command compresses files TEST1.TXT and TEXT2.TXT
           and creates an archive file TEMP.LZH.
  To convert an archive to to self-extraction format:
     lha a [archive file name]
     NOTE: Do not specify file extension. Self-extracting file with EXE
           extension is created from archive file with LZH extension.
     Example: lha s temp
           The above command creates self-extracting file TEMP.EXE with
           files contained in archive file TEMP.LZH.

4.  Usage
---------
  A.  General Format:
  ==================
  丂LHA <command> [-<option>[-+012|WDIR]...] LZH [[DIR\] [FILE]...]...

    <command>: One or more command listed in section B.
               When omitted, displays quick LHA help
    <option>:  one of options below:
               LZH:       archive filename
               DIR:       base directory name
               FILE:      compression/extraction file name
                          (may include path)
               WDIR:      working directory name
  B.  <command>
  =============
   a (Add)     Add file to an archive file
               File(s) specified by FILE are compressed and added to the
               archive file (LZH file). If the archive file does not
               exists, it will be created. If the file already exists
               in the archive file, it will be overwritten. (Refer also
               to u (Update) and m (Move) commands.)
     < Example 1 >  LHA a ex *.exe
               Compress all files with extension EXE in the current
               directory and add to (or create) a EX.LZH archive file. 

   u (Update)  Add/Update file in an archive file
               File(s) specified by FILE are compressed and added to the
               archive file (LZH file). If the file already exists in
               the archive file, the file will be added to the archive
               only when the modification date of the file is more
               recent than the one in the archive file. (Refer also to a
               (Add) and m (Move) commands.)
     < Example 2 > LHA u ex *.c
               Compress all files with extension C in the current
               directory and add/update to a EX.LZH archive file.
               If the file already exists in the archive file, the file
               will be added to the archive only when the modification
               date of the file are more recent than the one in the archive.

   m (Move)    Move file to an archive file
               File(s) specified by FILE are compressed and moved to the
               archive file (LZH file). If the file already exists in
               the archive file, the file will be added to the archive
               only when the modification date of the file is more
               recent than the one in the archive file. All files
               (including those that were not actually updated to the
               archive file) will be deleted.
               Specify the -c option to override the date comparision
               and update all specified files.
      < Example 3 > LHA m ex *.c
               Similar to Example 2, but delete all files with extension
               C in the current drive after updating the archive file.
               Have the same result as executing the following 2
               operations:
                  LHA u ex *.c
                  del *.c

   f (Freshen) Replace file in an archive file
               Similar to the u (update) option but only update the file
               that already exists in the archive file. Files that do
               not already exist in the archive files are not added to
               the archive.
               Specify the -c option to override the date comparison and
               replace all specified files.
     < Example 4 > LHA f ex lha.doc
               Replace file LHA.DOC in the archive file EX.LZH if the
               modification date is more recent than those in the
               archive file.

   d (Delete)  Delete file from an archive file
               File(s) specified by FILE are deleted from the archive
               file (LZH file).
     < Example 5 > LHA d ex lha.doc
               Deletes file LHA.DOC from the archive file EX.LZH.

   e (Extract) Extract file from the archive file
               File(s) specified by FILE are extracted from the archive
               file (LZH file). If FILE is not specified, all files
               in the archive file are extracted.
               If the file to be extracted already exists in the current
               directory, the file will be extracted only when the
               modification date of the file is more recent than the one
               in the current directory.
               Specify -c option to override the date comparison and
               extract all specified files.
               Files compressed by LHarc (-lzs-, -lz4-, -lz5-) may also
               be extracted.
     <Example 6 > LHA e ex
               Extract all the files included in the archive file
               EX.LZH.
     < Example 7 > LHA e ex *.com
               Extract all the files with extension COM from the
               archive file EX.LZH.

  x (eXtract)  Extracts directory with files from the archive file
               File(s) specified by FILE are extracted with their
               corresponding directory from the archive file (LZH file).
               If the directories does not exist, they are created.
               If FILE is not specified, all files in the archive
               file are extracted.
               Same as executing LHA E -x1m1.
      < EXample 8 > LHA x ex
               Extract all the files included in the archive file
               EX.LZH with their directories. If file \BIN\CG86.EXE is
               included in the archive file EX.LZH, BIN directory is
               created in the current directory and CG86.EXE file is
               extracted to this sub-directory.

   p (Print)   Print content of an archive to the standard output
               File(s) specified by FILE are extracted and their
               contents are printed to the standard output. If FILE is
               omitted, contents of all files in the archive file is
               printed to the standard output.
     < Example 9 >  LHA  p ex lha.doc
               Extracts file LHA.DOC from the archive file EX.LZH and
               displays its contents on a screen.
     < Example 10 > LHA p ex lha.doc > prn
               Extracts file LHA.DOC from the archive file EX.LZH and
               print it out to a default printer.

   l (List)    Lists file names
               Information corresponding to file(s) specified by FILE
               are printed to the standard output. If FILE is omitted,
               information concerning all files in the archive file is
               printed to the standard output.
               To display the full path name with the file names,
               specify x option. Files with path are displayed with a
               '+' prefixed to their names.
     <Example 11> LHA l ex
               Information concerning all files in the archive file
               EX.LZH are displayed on the screen.

   v (View)    View file information
               Same as l -x1.

   t (Test)    Execute CRC test on the archived file
               CRC (cyclic redundancy check) test is  executed on
               file(s) specified by FILE.
               This option is also used to check for the originality of
               the distributed LHA.EXE file. The original LHA.EXE
               displays "This file seems to be ORIGINAL distributed
               from H.Yoshi." when LHA t lha.exe is executed.
               It may not make too much sense testing itself, but
               testing if the new copy of the LHA.EXE program for
               originality may prevent unsolicited problems.
               LHA is not able to test files that have been altered by
               LEXEM, DIET, PKLITE, and LZEXE and files compressed by
               LHarc.
     < Example 12 > LHA t ex
               Test integrity of all files contained in file EX.LZH. 
     < Example 13 > LHA t lha.exe
               Test if the file LHA.EXE is the original file distributed
               by Haruyasu Yoshizaki.

   s (Self-extract)
               Convert archive file (LZH file) to self-extracting
               format (SFX file). Two types of self-extracting files
               may be created. The default option, -x0, which is assumed
               when type if not specified, creates a small model file
               that may only self-extract to the current directory.
               Size of a file created by this option is smaller than
               the file created by the large model, but sub-directories
               may not be recreated nor files executed during file
               extraction.
               The second type, the large self-extracting model, is
               able to recreate subdirectories and execute programs
               during file extraction but the archive file is larger
               then those created by the small model.
     < Example 14 > LHA s ex
               Convert archive file, EX.LZH, to small model
               self-extraction file, EX.EXE.
     WARNING:  It is necessary to first create an archive file that is
               to be converted to a self-extracting format. 's' option
               does not create a self-extracting file directly a regular
               file.

  C.  <-option>
  =============
               Options may be specified to more fully customize file
               manipulation operations. Generally, options are specified
               with numericals 0, 1, 2, or 3, but some commands do not
               distinguish between 1 and 2. For some options, it is
               possible to toggle between values 0 and 1 by specifying
               '+' and '-'. Additionally, options may also be prefixed
               by a '/' instead  of a '-' to conform to the MS-DOS
               command syntax.

     -x[0|1]   Use eXtended file names
               When -x1 is specified as a file compression option, path
               name is saved along with the file name.
               When -x1 is specified as a file extraction option, files
               saved with directory information are extracted to their
               corresponding directories. If a directory does not exist,
               they are created.
               When -x0 is specified, only file name is save to the
               archive file and files are extracted to the current path.

               If file tc\include\sys\stat.h is compressed to an
               archive file with its path, -x0 option compressed only
               file name STAT.H to the archive file while -x1 saves
               the complete path tc\include\sys\ with the file name.
               When extracting from the created archive, -x0 extracts
               STAT.H file to the current directory while -x1 creates
               directories tc\include\sys in the current directory
               and extracts STAT.H file in created directory.
               When -x0 option is specified with the -l option, only
               file names are listed with their attributes while

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -