Command-line options, Advanced Statistics

Assignment Help:

Command-Line options

Compression:

C++:  ./compress  -f  myfile.txt  [-o  myfile.hzip  -s

Java:  sh  compress.sh  -f  myfile.txt  [-o  myfile.hzip  -s]

Decompression:

C++:  ./decompress  -f  myfile.hzip[-r  -v]

Java:  sh  decompress.sh  -f  myfile.hzip  [-o  myfile.txt  -s]

The command-line options that are within the square bracket are optional. The option \-f" precedes the input le name, which always has a .txt extension. The \-s" option prints statistics, such as for compression it prints, how many distinct characters are there, what is the compression ratio, and the wall clock time that it took for performing the compression task. For decompression, it prints how many character were written, and the wall clock time it took for performing the decompression task. The \-o" option precedes the name of an output le. If the output file name is not given, then we will append .hzip at the end of the input filename to create the output filename.


Related Discussions:- Command-line options

Determine allowable setup cost, A metal fabrication process uses a die-cast...

A metal fabrication process uses a die-cast metal fastener at a uniform rate of 300 units per year. Currently, this item is currently purchased from an external supplier at a unit

LASPEYERES QUANTITY INDEX, HOW TO OBTAIN THE LASPEYRES QUANTITY INDEX AND T...

HOW TO OBTAIN THE LASPEYRES QUANTITY INDEX AND THE FORMULA

Describe indirect least squares, Indirect least squares: An estimation tech...

Indirect least squares: An estimation technique used in the fitting of structural equation models. Commonly least squares are first used to estimate reduced form parameters. Usi

Density estimation, Procedures for estimating the probability distributions...

Procedures for estimating the probability distributions without supposing any particular functional form. Constructing the histogram is perhaps the easiest example of such type of

Infant mortality rate, Infant mortality rate is the ratio of the number of...

Infant mortality rate is the ratio of the number of deaths during the calendar year among the infants under one year of age to the total number of live births during that particul

SCATTER DIAGRAM, MEANING ,IMPORTANCE AND RELEAVANCE OF SCATTER DIAGRAM

MEANING ,IMPORTANCE AND RELEAVANCE OF SCATTER DIAGRAM

Nested design, Nested design  is the design in which levels of one or more ...

Nested design  is the design in which levels of one or more factors are subsampled within one or more other factors such that, for instance, each level of a factor B happens at onl

Baddeley''smetric, Baddeley'smetric : A manner of measuring the 'error' in ...

Baddeley'smetric : A manner of measuring the 'error' in the image processing technique or method. The metric is derived using the fundamental theory from the stochastic geometry an

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd