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

Descriptive , Assume that a population is normally distributed with a mean ...

Assume that a population is normally distributed with a mean of 100 and a standard deviation of 15. Would it be unusual for the mean of a sample of 20 to be 115 or more?

Linear regression assignment help, Using World Bank (2004) World Developmen...

Using World Bank (2004) World Development Indicators; Washington: International Bank for Reconstruction & Development/ The World Bank, located in the reference section of the Learn

Describe hello-goodbye effect., Hello-goodbye effect : The phenomenon initi...

Hello-goodbye effect : The phenomenon initially described in psychotherapy research, but one which might arise whenever a subject is assessed on two occasions, with some interventi

Ecological fallacy, The term used when the aggregated data (for instance, a...

The term used when the aggregated data (for instance, aggregated over different areas) are analysed and the results supposed to apply to the relationships at the individual level.

Distance sampling, The technique of sampling used in the ecology for determ...

The technique of sampling used in the ecology for determining how much plants or animals are in a given fixed region. A set of randomly placed lines or points is recognized and the

Occam''s razor, Occam's razor  is an early statement of the parsimony princ...

Occam's razor  is an early statement of the parsimony principle, which was given by William of Occam (1280-1349) namely 'entia non sunt multiplicanda praeter necessitatem'; which m

Path analysis, Path analysis  is  a device for evaluating the interrelat...

Path analysis  is  a device for evaluating the interrelationships among the variables by analyzing their correlational structure. The relationships between the variables are man

Prevented fraction, Prevented fraction is a measure which can be used to a...

Prevented fraction is a measure which can be used to attribute the protection against the disease directly to an intervention. The measure can given by the proportion of disease w

Describe lorenz curve., Lorenz curve : Essentially the graphical representa...

Lorenz curve : Essentially the graphical representation of cumulative distribution of the variable, most often used for the income. If the risks of disease are not monotonically in

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