Older email programs were not able to handle binary files. Suppose you are emailing a file that has been compressed with gzip, which produces a binary file, and the recipient is using an old email program. Refer to the man page on uuencode, which converts a binary file to ASCII. Learn about the utility and how to use it.

a. Convert a compressed file to ASCII using uuencode. Is the encoded file
larger or smaller than the compressed file? Explain. (If uuencode is not on
the local system, you can install it using one of the tools described in
Appendix C; it is part of the sharutils package.)
b. Would it ever make sense to use uuencode on a file before compressing
it? Explain.


a. The following command converts the file memo.gz to ASCII using uuen-
code. The .uuencode filename extension is not required.
$ uuencode memo.gz > memo.gz.uuencode
The resulting ASCII file is larger than the original binary file because
uuencode includes control information.
b. No purpose is served by using uuencode to convert a binary file to ASCII
before compressing it because compressing an ASCII file creates a binary
file.

Computer Science & Information Technology

You might also like to view...

Which of the following is not one of the disadvantages of using the “copy-and-paste” approach to duplicating code from one class into another class?

a. Errors are prone to be spread around. b. It is time consuming. c. It forces the system to store many physical copies of the code, creating a code-maintenance nightmare. d. All of the above are disadvantages of the “copy-and-paste” approach.

Computer Science & Information Technology

A square and a triangle are both specializations of a shape that mathematicians call a polygon.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

What is a disadvantage of narrowband transmissions?

A. requires a complicated algorithm B. not well regulated C. expensive to implement D. interference from another radio signal

Computer Science & Information Technology

If Alex hires a new employee and the employee's account is provisioned after HR manually inputs information into the provisioning system based on data Alex provides via a series of forms, what type of provisioning has occurred?

A. Discretionary account provisioning B. Workflow-based account provisioning C. Automated account provisioning D. Self-service account provisioning

Computer Science & Information Technology