73 points · by lelf · 14y ago · 35 comments
Great. Now we have .xz, .lzip (.lz) and .lzma. Not to mention .7z - all using basically the same compression engine, with just enough differences to make them incompatible with each other.
It stopped being funny when tar ran out of letters.
-Z = compress, -z = gzip, -j = bzip2, -J = XZ
Now for lzip they had to resort to --lzip...
-a, --auto-compress
use archive suffix to determine the compression program
So tar cvfa archive.tar.xz files* would create a tar.xz fileThere should be some kind of rule that if you run out of option letters your program is doing too much.
For comparison ls has e j and y available.
Though lzip predates xz, this GNU ed release is the first .lz file I've ever seen in the wild. Everyone else that distributes .tar.gz files (compatibility) along with .tar.something_else files (higher compression) seems to use bzip2 or xz, not lzip.
http://www.catonmat.net/download/ed.text.editor.cheat.sheet....
Remember that vim's ex or command mode (mode when you type ":") accepts `ed` commands. Level up!
http://git.savannah.gnu.org/cgit/emacs.git/tree/etc/JOKES?h=...
... Along with a bunch of other jokes, most of them making fun of Emacs. It's been there since ancient times.
Eight
Megabytes
And
Constantly
Swapping
But man how far we've come in so short a time!"All command-line options are now documented in the man page."
This should clear up any difficulty users may have had using the program.
If the main implementation of ed isn't even POSIX compliant these days, I'd say POSIX is officially pointless.