Hello bug-coreutils,

I hope this is a correct reporting address. [EMAIL PROTECTED]
doen't seem to be working, yet. I also failed to subscribe to a (new)
mailing list via the standard [EMAIL PROTECTED]).

My suggestions for dcoumenting the --string option of md5sum in the
usage() message and the coreutils.texi are the following
(same for textutils 2.x):

        * src/md5sum.c (usage): document --string option.

diff -Nur ../coreutils-4.5.1/src/md5sum.c ./src/md5sum.c
--- ../coreutils-4.5.1/src/md5sum.c     2002-08-31 01:07:54.000000000 +0200
+++ ./src/md5sum.c      2002-09-04 12:42:10.000000000 +0200
@@ -135,6 +135,7 @@
 \n\
   -b, --binary            read files in binary mode (default on DOS/Windows)\n\
   -c, --check             check %s sums against given list\n\
+      --string=STRING     compute checksum for STRING instead of a FILE\n\
   -t, --text              read files in text mode (default)\n\
 \n\
 "),


        * doc/coreutils.texi: document --string option of md5sum.

--- ../coreutils-4.5.1/doc/coreutils.texi       2002-08-30 08:56:16.000000000 +0200
+++ ./doc/coreutils.texi        2002-09-04 12:42:10.000000000 +0200
@@ -2714,6 +2714,11 @@
 MD5 checksums, exit successfully.  Otherwise exit with a status code
 indicating there was a failure.
 
+@itemx --string=@var{string}
+@opindex --string
+@cindex MD5 checksum for a string
+Compute the MD5 checksum for @var{string} rather than @var{file}.
+
 @item -t
 @itemx --text
 @opindex -t

-- 
I leave it to a native speaker to enhance the texinfo text.

Best regards,
 Uwe



_______________________________________________
Bug-textutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-textutils

Reply via email to