Deleted Added
full compact
uuencode.1 (68963) uuencode.1 (70197)
1.\" Copyright (c) 1980, 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)uuencode.1 8.1 (Berkeley) 6/6/93
1.\" Copyright (c) 1980, 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)uuencode.1 8.1 (Berkeley) 6/6/93
33.\" $FreeBSD: head/usr.bin/uuencode/uuencode.1 68963 2000-11-20 19:21:22Z ru $
33.\" $FreeBSD: head/usr.bin/uuencode/uuencode.1 70197 2000-12-19 16:00:12Z ru $
34.\"
35.Dd June 6, 1993
36.Dt UUENCODE 1
37.Os BSD 4
38.Sh NAME
39.Nm uuencode ,
40.Nm uudecode
41.Nd encode/decode a binary file

--- 51 unchanged lines hidden (view full) ---

93.Ar file
94and write output to standard output.
95.It Fl s
96Do not strip output pathname to base filename.
97By default
98.Nm uudecode
99deletes any prefix ending with the last slash '/' for security
100purpose.
34.\"
35.Dd June 6, 1993
36.Dt UUENCODE 1
37.Os BSD 4
38.Sh NAME
39.Nm uuencode ,
40.Nm uudecode
41.Nd encode/decode a binary file

--- 51 unchanged lines hidden (view full) ---

93.Ar file
94and write output to standard output.
95.It Fl s
96Do not strip output pathname to base filename.
97By default
98.Nm uudecode
99deletes any prefix ending with the last slash '/' for security
100purpose.
101.El
101.Sh EXAMPLES
102The following example packages up a source tree, compresses it,
103uuencodes it and mails it to a user on another system.
104When
105.Nm uudecode
106is run on the target system, the file ``src_tree.tar.Z'' will be
107created which may then be uncompressed and extracted into the original
108tree.
109.Pp
110.Bd -literal -offset indent -compact
111tar cf \- src_tree \&| compress \&|
112uuencode src_tree.tar.Z \&| mail sys1!sys2!user
113.Ed
102.Sh EXAMPLES
103The following example packages up a source tree, compresses it,
104uuencodes it and mails it to a user on another system.
105When
106.Nm uudecode
107is run on the target system, the file ``src_tree.tar.Z'' will be
108created which may then be uncompressed and extracted into the original
109tree.
110.Pp
111.Bd -literal -offset indent -compact
112tar cf \- src_tree \&| compress \&|
113uuencode src_tree.tar.Z \&| mail sys1!sys2!user
114.Ed
114
115.Pp
115The following example unpack all uuencode'd
116files from your mailbox into your current working directory.
117.Pp
118.Bd -literal -offset indent -compact
119uudecode -c < $MAIL
120.Ed
116The following example unpack all uuencode'd
117files from your mailbox into your current working directory.
118.Pp
119.Bd -literal -offset indent -compact
120uudecode -c < $MAIL
121.Ed
121
122.Pp
122The following example extract a compress'ed tar
123archive from your mailbox
124.Pp
125.Bd -literal -offset indent -compact
126uudecode -p < $MAIL | zcat | tar xfv -
127.Ed
128.Sh SEE ALSO
129.Xr basename 1 ,

--- 14 unchanged lines hidden ---
123The following example extract a compress'ed tar
124archive from your mailbox
125.Pp
126.Bd -literal -offset indent -compact
127uudecode -p < $MAIL | zcat | tar xfv -
128.Ed
129.Sh SEE ALSO
130.Xr basename 1 ,

--- 14 unchanged lines hidden ---