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

Explain household interview surveys, Household interview surveys : The surv...

Household interview surveys : The surveys in which the primary sampling units are typically geographic regions such as nations or cities. For each such unit sampled, there are addi

Cumulative frequency distribution, The tabulation of a sample of observatio...

The tabulation of a sample of observations in terms of numbers falling below particular values. The empirical equivalent of the growing probability distribution. An example of such

Cohort study, Cohort study : An investigation in which the group of individ...

Cohort study : An investigation in which the group of individuals (or the cohort) is identi?ed and followed prospectively, possibly for many years, and their subsequent medical his

Prepare a report using regression analysis, Paul Jordan has just been hired...

Paul Jordan has just been hired as a management analyst at Digital Cell Phone Inc. Digital Cell manufactures a broad line of phones for the consumer market. Paul's boss, John Smith

Anova, a. Explain the meaning of the word non-orthogonal. b. What conditio...

a. Explain the meaning of the word non-orthogonal. b. What condition(s) must exist for non-orthogonality to occur? Be specific.

Survey Design, Hello, I have a solution for a Survey Design (proposal) assi...

Hello, I have a solution for a Survey Design (proposal) assignment and looking for an expert that can look at it and correct it in case if it is wrong. Do you have this kind of ser

Comprehensive report writing assignment help, Hamilton County judges try th...

Hamilton County judges try thousands of cases per year. In an overwhelming majority of the cases disposed, the verdict stands as rendered. However, some cases are appeale

Rational –experiential inventory, Demographic data: Age: continuous vari...

Demographic data: Age: continuous variable Gender: categorical variable with males coded 1, females coded 2. Relationship status: categorical variable 1 to 5. Rational

Weathervane plot, Weathervane plot is the graphical display of the multiva...

Weathervane plot is the graphical display of the multivariate data based on bubble plot. The latter is enhanced by the addiction of the lines whose lengths and directions code the

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