Differences between version 9 and predecessor to the previous major change of zcat(1).
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 9 | Last edited on Thursday, October 9, 2003 9:55:36 am | by zcat(1) | Revert |
Older page: | version 3 | Last edited on Monday, September 9, 2002 11:43:18 pm | by PerryLorier | Revert |
@@ -560,12 +560,24 @@
permission notice may be stated in a translation approved by
the Foundation.
----
!!user comments
-see also http://zcat.themall.co.nz/
-And I have a bit of a blog where I rant about things that are bothering me, which lately tends to be mostly the perpetual extension of copyright. You can read that at http://zcat.themall.co.nz/blog.html
+
someone was searching for examples for zcat, so well, why disappoint?
$ ls
interestingfile.txt.gz
$ zcat interestingfile.txt.gz
this is a compressed interesting text file
+
+For the examples above I'd probably use zless, since if a textfile was worthy of being compressed it's likely to have been very large to begin with.
+
+There aren't many places where 'zcat' is the shortest command for the job. Eg. "zcat foo.tgz | tar x" is probably better done by the command "tar xzf foo.tgz"
+
+Probably the best example I can think of would be;
+ $ zcat patch-x.y.z.gz | patch -p0
+
+Patches are usually compressed, and patch(1) doesn't have a 'compressed' switch like tar(1) does..
+
+
+zcat is also the nickname of BruceKingsbury. His homepage is http://zcat.wired.net.nz/
+and his home network connection can be found via http://zcat.meta.net.nz/