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

General household survey, It is the survey which is carried out in Great Br...

It is the survey which is carried out in Great Britain on a continuous basis since 1971. About 100 000 households are included in this sample every year. The main goal of the surve

Quantative methods, I need help solving a problem using excel.

I need help solving a problem using excel.

Experimental design, i have an assignment for experimental design which is ...

i have an assignment for experimental design which is must done by SAS program can you help me also i need to hand in the assignment till thursday shall i send it for you ?

Explain knox''s test, Knox's tests: These tests designed to detect any ten...

Knox's tests: These tests designed to detect any tendency for the patients with a particular disease to form the disease cluster in time and space. The tests are relied on a two-b

Barnard, Barnard, George Alfred (1915^2002) : Born in Walthamstow in the ea...

Barnard, George Alfred (1915^2002) : Born in Walthamstow in the east of London, Barnard achieved a scholarship to St. John's College, Cambridge, from where he graduated in the math

Queuing theory, 1) Let N1(t) and N2(t) be independent Poisson processes wit...

1) Let N1(t) and N2(t) be independent Poisson processes with rates, ?1 and ?2, respectively. Let N (t) = N1(t) + N2(t). a) What is the distribution of the time till the next epoch

Ordered alternative hypothesis, Ordered alternative hypothesis is a hypoth...

Ordered alternative hypothesis is a hypothesis or assumption which speci?es an order for the set of parameters of interest as an alternative to the equality, rather than simply th

Probability, Modern hotels and certain establishments make use of an electr...

Modern hotels and certain establishments make use of an electronic door lock system. To open a door an electronic card is inserted into a slot. A green light indicates that the doo

Scatter plots, The scatter plot of SRES1 versus totexp demonstrates that th...

The scatter plot of SRES1 versus totexp demonstrates that there is non-linear relationship that exists as most of the points are below and above zero. The scatter plot show that th

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