9e1ffe3396
- don't allow argument to overflow buffer (via BugTraq)
78 lines
2.8 KiB
Plaintext
78 lines
2.8 KiB
Plaintext
$OpenBSD: patch-doc_sharutils_texi,v 1.2 2004/04/10 20:28:00 naddy Exp $
|
|
--- doc/sharutils.texi.orig 1995-11-25 03:42:52.000000000 +0100
|
|
+++ doc/sharutils.texi 2004-04-10 22:21:45.000000000 +0200
|
|
@@ -2,6 +2,16 @@
|
|
@c %**start of header
|
|
@setfilename sharutils.info
|
|
@settitle GNU @code{shar} utilities
|
|
+@dircategory File transfer and archiving tools
|
|
+@direntry
|
|
+* Shar utilities: (sharutils). GNU shar utilities.
|
|
+* mail-files: (sharutils)mail-files invocation. Send files to remote site.
|
|
+* mailshar: (sharutils)mailshar invocation. Make and send a shell archive.
|
|
+* shar: (sharutils)shar invocation. Make a shell archive.
|
|
+* unshar: (sharutils)unshar invocation. Explode a shell archive.
|
|
+* uudecode: (sharutils)uudecode invocation. Restore file from 7-bits.
|
|
+* uuencode: (sharutils)uuencode invocation. Force binary file to 7-bits.
|
|
+@end direntry
|
|
@finalout
|
|
@c %**end of header
|
|
|
|
@@ -15,21 +25,6 @@
|
|
@end tex
|
|
|
|
@ifinfo
|
|
-@format
|
|
-START-INFO-DIR-ENTRY
|
|
-* Shar utilities: (sharutils). GNU shar utilities.
|
|
-* mail-files: (sharutils)mail-files invocation. Send files to remote site.
|
|
-* mailshar: (sharutils)mailshar invocation. Make and send a shell archive.
|
|
-* remsync: (sharutils)remsync invocation. Synchronize remote files.
|
|
-* shar: (sharutils)shar invocation. Make a shell archive.
|
|
-* unshar: (sharutils)unshar invocation. Explode a shell archive.
|
|
-* uudecode: (sharutils)uudecode invocation. Restore file from 7-bits.
|
|
-* uuencode: (sharutils)uuencode invocation. Force binary file to 7-bits.
|
|
-END-INFO-DIR-ENTRY
|
|
-@end format
|
|
-@end ifinfo
|
|
-
|
|
-@ifinfo
|
|
This file documents the GNU set of shar utilities.
|
|
|
|
Copyright (C) 1994 Free Software Foundation, Inc.
|
|
@@ -157,8 +152,8 @@ for these programs to @file{bug-gnu-util
|
|
The format of the @code{shar} command is one of:
|
|
|
|
@example
|
|
-shar [ @var{option} ] @dots{} @var{file} @dots{}
|
|
-shar -S [ @var{option} ] @dots{}
|
|
+gshar [ @var{option} ] @dots{} @var{file} @dots{}
|
|
+gshar -S [ @var{option} ] @dots{}
|
|
@end example
|
|
|
|
In the first form, the file list is given as command arguments. In the
|
|
@@ -548,7 +543,7 @@ restored whether @code{-f} is specified
|
|
The format of the @code{unshar} command is:
|
|
|
|
@example
|
|
-unshar [ @var{option} ] @dots{} [ @var{file} @dots{} ]
|
|
+gunshar [ @var{option} ] @dots{} [ @var{file} @dots{} ]
|
|
@end example
|
|
|
|
Each @var{file} is processed in turn, as a shell archive or a
|
|
@@ -635,10 +630,10 @@ archive process considerably.
|
|
Let us conclude by a showing a few examples of @code{shar} usage:
|
|
|
|
@example
|
|
-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
|
|
@end example
|
|
|
|
@noindent
|