Hi,

The help text of dd now mentions that the word BLOCKS can
be replaced with something.  But the word BLOCKS does not
occur any longer in the entire help text.  Attached patch
removes the superfluous mention.

The second patch converts the word BYTES to a single letter
(X), as was done for BLOCKS (now N) -- this to avoid the
awkward word combination of "BYTES bytes".

Regards,

Benno

-- 
http://www.fastmail.fm - One of many happy users:
  http://www.fastmail.fm/docs/quotes.html

From 31596e328019702857dcb1760c76d7a27b32c75c Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <[email protected]>
Date: Thu, 16 Aug 2012 18:30:01 +0200
Subject: [PATCH 1/2] dd: the word BLOCKS no longer occurs in the help text

---
 src/dd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/dd.c b/src/dd.c
index 2ebbfae..de51435 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -540,7 +540,7 @@ Copy a file, converting and formatting according to the operands.\n\
 "), stdout);
       fputs (_("\
 \n\
-N, BLOCKS and BYTES may be followed by the following multiplicative suffixes:\n\
+N and BYTES may be followed by the following multiplicative suffixes:\n\
 c =1, w =2, b =512, kB =1000, K =1024, MB =1000*1000, M =1024*1024, xM =M\n\
 GB =1000*1000*1000, G =1024*1024*1024, and so on for T, P, E, Z, Y.\n\
 \n\
-- 
1.7.0.4

From 5f5db4e0c5060cd554dcecc16a126b274c9d6bd6 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <[email protected]>
Date: Thu, 16 Aug 2012 18:34:10 +0200
Subject: [PATCH 2/2] dd: change BYTES to a single letter, as was done for BLOCKS

---
 src/dd.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/dd.c b/src/dd.c
index de51435..2a3bda0 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -522,16 +522,16 @@ Usage: %s [OPERAND]...\n\
       fputs (_("\
 Copy a file, converting and formatting according to the operands.\n\
 \n\
-  bs=BYTES        read and write up to BYTES bytes at a time\n\
-  cbs=BYTES       convert BYTES bytes at a time\n\
+  bs=X            read and write up to X bytes at a time\n\
+  cbs=X           convert X bytes at a time\n\
   conv=CONVS      convert the file as per the comma separated symbol list\n\
   count=N         copy only N input blocks\n\
-  ibs=BYTES       read up to BYTES bytes at a time (default: 512)\n\
+  ibs=X           read up to X bytes at a time (default: 512)\n\
 "), stdout);
       fputs (_("\
   if=FILE         read from FILE instead of stdin\n\
   iflag=FLAGS     read as per the comma separated symbol list\n\
-  obs=BYTES       write BYTES bytes at a time (default: 512)\n\
+  obs=X           write X bytes at a time (default: 512)\n\
   of=FILE         write to FILE instead of stdout\n\
   oflag=FLAGS     write as per the comma separated symbol list\n\
   seek=N          skip N obs-sized blocks at start of output\n\
@@ -540,7 +540,7 @@ Copy a file, converting and formatting according to the operands.\n\
 "), stdout);
       fputs (_("\
 \n\
-N and BYTES may be followed by the following multiplicative suffixes:\n\
+N and X may be followed by the following multiplicative suffixes:\n\
 c =1, w =2, b =512, kB =1000, K =1024, MB =1000*1000, M =1024*1024, xM =M\n\
 GB =1000*1000*1000, G =1024*1024*1024, and so on for T, P, E, Z, Y.\n\
 \n\
-- 
1.7.0.4

Reply via email to