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

Historigram, difference between histogram and historigram

difference between histogram and historigram

Cluster analysis, Cluster analysis : A set of methods or techniques for con...

Cluster analysis : A set of methods or techniques for constructing a sensible and informative classi?cation of an initially unclassi?ed set of data, using variable values observed

Describe monty hall problem, Monty Hall problem : A apparently counter-intu...

Monty Hall problem : A apparently counter-intuitive problem in the probability which gets its name from the TV game show, 'Let's Make a Deal' hosted by the Monty Hall. On show a pa

Fractional factorial design, Designs in which the information on main effec...

Designs in which the information on main effects and low-order inter- actions are attained by running only the fraction of the complete factorial experiment and supposing that part

Matching distribution, Matching distribution is  a probability distributi...

Matching distribution is  a probability distribution which arises in the following manner. Suppose that the set of n subjects, numbered 1; . . . ; n respectively, are arranged in

Construct a stem-and-leaf diagram, The number of employees absent from work...

The number of employees absent from work at a large electronics manufacturing plant over aperiod of 106 days is given in the table below. 146 141 139 140 145 141 142 131 142 140

Explain prospective studies, Prospective study : The studies in which indiv...

Prospective study : The studies in which individuals are followed-up over the period of time. A general example of this type of investigation is where the samples of individuals ar

Computer-assisted interviews, Computer-assisted interviews : A method or te...

Computer-assisted interviews : A method or technique of interviewing subjects in which the interviewer reads the question from the computer screen instead of the printed page, and

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