Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I downloaded a font from www.fontspace.com today. It came in a basic .zip file and so I moved it into its own new folder to extract it (I'm tired of extracting things just to find that they were compressed with everything being in the root of the compressed file and thus they barf all over my desktop). Upon extracting them with the unzip command, ASCII art was printed out into my terminal like in the picture below:

enter image description here

Only a font was extracted. How was this art/text put into the zip file? Is it safe to assume that this is a printed thing only and that unzipping a .zip file doesn't actually execute code (thus assuming that fontspace then wrote a bunch of print statements vs. just writing in a text block when zipping the file to later be printed by a built in zip feature)?

For what it's worth, I'm running on a Debian based Linux distribution.

share|improve this question
add comment

1 Answer

up vote 14 down vote accepted

Zip archives can contain comments, either per file or for the whole archive. Unix unzip displays this comment by default when you manipulate the file (e.g.: when extracting).

To add a multi-line comment you can use the -z flag

For more information look at the zip manual

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.