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

Disease surveillance, The procedure which targets to use the health and hea...

The procedure which targets to use the health and health-related data which precede diagnosis and/or confirmation to identify possible outbreaks of the disease, mobilize a rapid re

Per-experiment error rate, Per-experiment error rate is the possibility of...

Per-experiment error rate is the possibility of the incorrectly rejecting at least one null hypothesis or assumption in the experiment including one or more tests or comparisons,

Direct edacyclic graph, Formal graphical representation of the "causal diag...

Formal graphical representation of the "causal diagrams" or the "path diagrams" where the  relationships are directed but acyclic (that is no feedback relations allowed). Plays an

Intercropping experiments, Intercropping experiments are the experiments i...

Intercropping experiments are the experiments including growing two or more crops at same time on the same patch of land. The crops are not required to be planted nor harvested at

Collector''s problem, Collector's problem : A problem which derives from th...

Collector's problem : A problem which derives from the schemes in which packets of a particular brand of coffe, cereal etc., are sold with coupons, cards, or other tokens. There ar

Regression discontinuity design, Regression discontinuity design is the qu...

Regression discontinuity design is the quasi-experimental design in which participants in, for instance, an intervention study, are assigned to the treatment and control groups on

Cause specific death rate, Cause specific death rate : A death rate calcula...

Cause specific death rate : A death rate calculated for the people dying from the specific disease. For instance, the below given are the rates per 1000 people for three disease cl

Two - stage distillation process, A mixture of benzene, toluene, and xylene...

A mixture of benzene, toluene, and xylene enters a two-stage distillation process where some of the componentsare recovered. The distillation process operates at steady-state condi

MC0074 –Statistical and Numerical methods using C++, Write a c++ program to...

Write a c++ program to find the sum of 0.123 ? 103 and 0.456 ? 102 and write the result in three significant digits

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