GNU /bin/ed 1.6 released
lists.gnu.org
lists.gnu.org
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...
There 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.
-a, --auto-compress
use archive suffix to determine the compression program
So tar cvfa archive.tar.xz files* would create a tar.xz file`file`-like auto-decompress could work, though: these formats have magic numbers, and tar already has the data in its zip_magic struct:
http://svn.netlabs.org/repos/ports/tar/trunk/src/buffer.c
together with code to infer compression type. I guess the only reason why tar doesn't support this already is caution.
<firefox-9.0.1.source.tar.bz2 tar xaf -
Does that still work? It doesn't for me.I was using (GNU tar) 1.20 and Debian stable is now at 1.23, but I think that autodetect code went in around 1.18.
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.