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 healthy worker effect, Healthy worker effect : The occurrence where...

Healthy worker effect : The occurrence whereby employed individuals tend to have lower mortality rates than those who are unemployed. The effect, which can pose the serious problem

Chapter 7&8, Chapter 7 2. Describe the distribution of sample means (shape...

Chapter 7 2. Describe the distribution of sample means (shape, expected value, and standard error) for samples of n =36 selected from a population with a mean of µ = 100 and a sta

Forest plot, A name sometimes given to the type of diagram generally used i...

A name sometimes given to the type of diagram generally used in meta-analysis, in which point estimates and confidence intervals are displayed for all the studies included in the a

Dirichlet process, The distribution over distributions in the sense that ea...

The distribution over distributions in the sense that each draw from the process is itself the distribution. The name Dirichlet process or procedure is due to the fact that the ?ni

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

Observational study, Observational study   is the study in which the object...

Observational study   is the study in which the objective is to discover cause-and-effect relationships but in which it is not feasible to use the controlled experimentation, in th

Determinant, A value related with the square matrix which represents sums a...

A value related with the square matrix which represents sums and products of its elements. For instance, if the matrix is   then the determinant of A (conventionally written as

Calculate the standard deviation, Q. A toothpaste company want to know if i...

Q. A toothpaste company want to know if its new product increases the length of time in-between dentist visit to its user. The company sets a target for 180 days to determine if it

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

Arithmetic mean , a sequence of numbers consist of six 6''s seven 7''s eigh...

a sequence of numbers consist of six 6''s seven 7''s eight 8''s nine 9''s ten 10''s what is the arithmetic mean?

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