Viewing zip archive contents using 'less' on OS X.
Posted
by
multihead
on Super User
See other posts from Super User
or by multihead
Published on 2011-01-12T15:40:19Z
Indexed on
2011/01/12
15:55 UTC
Read the original article
Hit count: 198
osx-snow-leopard
|less
I couldn't help but notice that the 'less' program on all of the recent distributions of Linux that I've used (Ubuntu and Gentoo in this case) allow me to view the contents of ZIP and TAR archives, while the install of 'less' that I have on OS X (and Solaris) instead produce a "foo.zip may be a binary file. See it anyway?", which proceeds to spit out the raw binary data instead of a nice file structure listing.
Google has not produced much in the way of helpful results -- it's tricky to search for 'less' in this context. I downloaded and built the latest version from greenwoodsoftware.com, but even it refuses to show the contents of these archives. I didn't come across any related configure/build options either. Any ideas? Thanks!
© Super User or respective owner