$OpenBSD: patch-doc_shar_1,v 1.1 2013/06/25 06:14:57 rpe Exp $
--- doc/shar.1.orig	Sun Jun 16 10:13:12 2013
+++ doc/shar.1	Sun Jun 16 10:23:43 2013
@@ -1,4 +1,4 @@
-.TH shar 1 "27 Dec 2012" "GNU sharutils (4.13.1)" "User Commands"
+.TH gshar 1 "27 Dec 2012" "GNU sharutils (4.13.1)" "User Commands"
 .\"
 .\"  DO NOT EDIT THIS FILE   (shar.man)
 .\"  
@@ -7,16 +7,16 @@
 .\"  and the template file   agman-cmd.tpl
 .\"
 .SH NAME
-shar \- create a shell archive
+gshar \- create a shell archive
 .SH SYNOPSIS
-.B shar
+.B gshar
 .\" Mixture of short (flag) options and long options
 .RB [ \-\fIflag\fP " [\fIvalue\fP]]... [" \-\-\fIopt\-name\fP "[[=| ]\fIvalue\fP]]..." " " "[file ...]"
 .PP
 If no \fIfile\fPs are specified, the list of input files is read
 from a standard input.  Standard input must not be a terminal.
 .SH "DESCRIPTION"
-\fBshar\fP creates "shell archives" (or shar files) which are in
+\fBgshar\fP creates "shell archives" (or shar files) which are in
 text format and can be emailed.  These files may be unpacked later by
 executing them with /bin/sh.  The resulting archive is sent to
 standard out unless the \fB-o\fP option is given.  A wide range of
@@ -124,7 +124,7 @@ This option is a member of the mixed\-uuencode class o
 .sp
 Automatically determine if the files are text or binary and archive
 correctly.  Files found to be binary are uuencoded prior to packing.
-This is the default behavior for \fIshar\fP.
+This is the default behavior for \fIgshar\fP.
 .sp
 For a file to be considered a text file instead of a binary file,
 all the following should be true:
@@ -219,8 +219,8 @@ Limit output file size to XXk bytes and split files if
 archive parts created with this option must be unpacked in correct
 order.  If the recipient of the shell archives wants to put all of
 them in a single email folder (file), they will have to be saved in
-the correct order for \fBunshar\fP to unpack them all at once (using
-one of the split archive options).  see: unshar Invocation.
+the correct order for \fBgunshar\fP to unpack them all at once (using
+one of the split archive options).  see: gunshar Invocation.
 .TP
 .BR \-I " \fIfile\fP, " \-\-input\-file\-list "=" \fIfile\fP
 read file list from a file.
@@ -245,7 +245,7 @@ For example:
 .nf
     { echo \-\-compact xz
        find . \-type f \-print | sort
-    } | shar \-S \-p \-L50K \-o /somewhere/big
+    } | gshar \-S \-p \-L50K \-o /somewhere/big
 .fi
 .TP
 .BR \-S ", " \-\-stdin\-file\-list
@@ -264,7 +264,7 @@ See the \fB\-\-net\-headers\fP option.
 .BR \-s " \fIwho@where\fP, " \-\-submitter "=" \fIwho@where\fP
 override the submitter name.
 .sp
-\fBshar\fP will normally determine the submitter name by querying
+\fBgshar\fP will normally determine the submitter name by querying
 the system.  Use this option if it is being done on behalf of another.
 .TP
 .BR \-a ", " \-\-net\-headers
@@ -309,7 +309,7 @@ start of each output file.
 translate messages in the script.
 .sp
 Translate messages in the script.  If you have set the \fBLANG\fP
-environment variable, messages printed by \fBshar\fP will be in the
+environment variable, messages printed by \fBgshar\fP will be in the
 specified language.  The produced script will still be emitted using
 messages in the lingua franca of the computer world: English.  This
 option will cause the script messages to appear in the languages
@@ -362,7 +362,7 @@ decompression or decoding in the unpacking environment
 .BR \-P ", " \-\-no\-piping
 use temporary files between programs.
 .sp
-In the \fIshar\fP file, use a temporary file to hold file contents
+In the \fIgshar\fP file, use a temporary file to hold file contents
 between unpacking stages instead of using pipes.  This option is
 mandatory when you know the unpacking will happen on systems that do
 not support pipes.
@@ -378,7 +378,7 @@ overwrite pre\-existing files.  In all cases, however,
 unpacking, then existing files will be overwritten unconditionally.
 .sp
 .nf
-    sh shar\-archive\-file \-c
+    sh gshar\-archive\-file \-c
 .fi
 .TP
 .BR \-X ", " \-\-query\-user
@@ -396,13 +396,13 @@ feature mainly for archives to be passed among agreeab
 Certainly, \fB\-X\fP is \fInot\fP for shell archives which are to be
 submitted to Usenet or other public networks.
 .sp
-The problem is that \fBunshar\fP programs or procedures often feed
+The problem is that \fBgunshar\fP programs or procedures often feed
 \fI/bin/sh\fP from its standard input, thus putting \fI/bin/sh\fP
 and the shell archive script in competition for input lines.  As an
-attempt to alleviate this problem, \fBshar\fP will try to detect
+attempt to alleviate this problem, \fBgshar\fP will try to detect
 if \fI/dev/tty\fP exists at the receiving site and will use it to
 read user replies.  But this does not work in all cases, it may happen
-that the receiving user will have to avoid using \fBunshar\fP
+that the receiving user will have to avoid using \fBgunshar\fP
 programs or procedures, and call \fI/bin/sh\fP directly.  In vanilla
 mode, using \fI/dev/tty\fP is not even attempted.
 .TP
@@ -429,7 +429,7 @@ restore in one directory, despite hierarchy.
 Restore by the base file name only, rather than path.  This option
 causes only file names to be used, which is useful when building a
 shar from several directories, or another directory.  Note that if a
-directory name is passed to shar, the substructure of that directory
+directory name is passed to gshar, the substructure of that directory
 will be restored whether this option is specified or not.
 .SS "Internationalization options:"
 .TP
@@ -437,7 +437,7 @@ will be restored whether this option is specified or n
 do not internationalize.
 .sp
 Do not produce internationalized shell archives, use default English
-messages.  By default, shar produces archives that will try to output
+messages.  By default, gshar produces archives that will try to output
 messages in the unpackers preferred language (as determined by the
 LANG/LC_MESSAGES environmental variables) when they are unpacked.  If
 no message file for the unpackers language is found at unpack time,
@@ -446,7 +446,7 @@ messages will be in English.
 .BR \-\-print\-text\-domain\-dir
 print directory with shar messages.
 .sp
-Prints the directory shar looks in to find messages files
+Prints the directory gshar looks in to find messages files
 for different languages, then immediately exits.
 .SS "user feedback/entertainment"
 .TP
@@ -485,21 +485,21 @@ by loading values from configuration ("RC" or ".INI") 
 The file "\fI$HOME/.sharrc\fP" will be used, if present.
 .SH "REPORTING BUGS"
 Report bugs to \fIbug\-gnu\-utils@gnu.org\fP.
-Please put \fBsharutils\fP in the subject line.
+Please put \fBgsharutils\fP in the subject line.
 It helps to spot the message..Sh WARNINGS
 No attempt is made to restore the protection and modification dates
 for directories, even if this is done by default for files.  Thus, if
-a directory is given to \fBshar\fP, the protection and modification
+a directory is given to \fBgshar\fP, the protection and modification
 dates of corresponding unpacked directory may not match those of the
 original.
 .sp
-If a directory is passed to shar, it may be scanned more than once, to
+If a directory is passed to gshar, it may be scanned more than once, to
 conserve memory.  Therefore, do not change the directory contents
-while shar is running.
+while gshar is running.
 .sp
 Be careful that the output file(s) are not included in the inputs or
-shar may loop until the disk fills up.  Be particularly careful when a
-directory is passed to shar that the output files are not in that
+gshar may loop until the disk fills up.  Be particularly careful when a
+directory is passed to gshar that the output files are not in that
 directory or a subdirectory of it.
 .sp
 Use of the compression and encoding options will slow the archive
@@ -528,10 +528,10 @@ archive which will use only the file names at unpack t
 .br
 .in +4
 .nf
-shar *.c > cprog.shar
-shar \-Q *.[ch] > cprog.shar
-shar \-B \-l28 \-oarc.sh *.arc
-shar \-f /lcl/src/u*.c > u.sh
+gshar *.c > cprog.shar
+gshar \-Q *.[ch] > cprog.shar
+gshar \-B \-l28 \-oarc.sh *.arc
+gshar \-f /lcl/src/u*.c > u.sh
 .in -4
 .fi
 .SH "EXIT STATUS"
@@ -550,10 +550,10 @@ a specified input could not be found
 open/close of specified directory failed
 .TP
 .BR 4 " (EXIT_FAILED)"
-Resource limit/miscelleaneous shar command failure
+Resource limit/miscelleaneous gshar command failure
 .TP
 .BR 63 " (EXIT_BUG)"
-There is a shar command bug.  Please report it.
+There is a gshar command bug.  Please report it.
 .TP
 .BR 66 " (EX_NOINPUT)"
 A specified configuration file could not be loaded.
@@ -562,9 +562,9 @@ A specified configuration file could not be loaded.
 libopts had an internal operational error.  Please report
 it to autogen-users@lists.sourceforge.net.  Thank you.
 .SH "SEE ALSO"
-unshar(1)
+gunshar(1)
 .SH AUTHORS
-The \fIshar\fP and \fIunshar\fP programs is the collective work of
+The \fIgshar\fP and \fIgunshar\fP programs is the collective work of
 many authors.  Many people contributed by reporting problems,
 suggesting various improvements or submitting actual code.  A list of
 these people is in the \fITHANKS\fP file in the sharutils distribution.
@@ -574,5 +574,5 @@ This program is released under the terms of the GNU Ge
 .SH "BUGS"
 Please send bug reports to: bug-gnu-utils@gnu.org
 .SH "NOTES"
-This manual page was \fIAutoGen\fP-erated from the \fBshar\fP
+This manual page was \fIAutoGen\fP-erated from the \fBgshar\fP
 option definitions.
