diff options
| author | dholland <dholland@NetBSD.org> | 2008-11-29 22:42:53 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2008-11-29 22:42:53 +0000 |
| commit | 6a8d114c5f35140f2daa6879d6123b76b75dc136 (patch) | |
| tree | ad1ffb6d35df39a84e0a803bc35a919801e675e5 /usr.bin/uuencode/uuencode.1 | |
| parent | 2ef1dd5f7ada0e3b380247a02aeb0e169b213493 (diff) | |
Modernize and expand example. Bump date.
Diffstat (limited to 'usr.bin/uuencode/uuencode.1')
| -rw-r--r-- | usr.bin/uuencode/uuencode.1 | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/usr.bin/uuencode/uuencode.1 b/usr.bin/uuencode/uuencode.1 index 69b73cf6774..4b0b5463a8f 100644 --- a/usr.bin/uuencode/uuencode.1 +++ b/usr.bin/uuencode/uuencode.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: uuencode.1,v 1.17 2008/11/29 22:36:13 dholland Exp $ +.\" $NetBSD: uuencode.1,v 1.18 2008/11/29 22:42:53 dholland Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)uuencode.1 8.1 (Berkeley) 6/6/93 .\" -.Dd September 24, 2006 +.Dd November 29, 2008 .Dt UUENCODE 1 .Os .Sh NAME @@ -95,15 +95,20 @@ utilities exits 0 on success, and \*[Gt]0 if an error occurs. .Sh EXAMPLES The following example packages up a source tree, compresses it, uuencodes it and mails it to a user on another system. -When -.Nm uudecode -is run on the target system, the file ``src_tree.tar.Z'' will be -created which may then be uncompressed and extracted into the original -tree. .Pp .Bd -literal -offset indent -compact -tar cf \- src_tree \&| compress \&| -uuencode src_tree.tar.Z \&| mail sys1!sys2!user +tar czf \- src_tree \&| uuencode src_tree.tgz \&| mail user@example.com +.Ed +.Pp +On the other system, if the user saves the mail to the file +.Pa temp , +the following example creates the file +.Pa src_tree.tgz +and extracts it to make a copy of the original tree. +.Pp +.Bd -literal -offset indent -compact +uudecode temp +tar xzf src_tree.tgz .Ed .Sh SEE ALSO .Xr compress 1 , |
