FYI, without the change below, the dd man page entries for
"directory" and all following flags were mangled:
direct use direct I/O for data
directory fail unless a directory dsync use synchronized I/O
for data sync likewise, but also for metadata nonblock use
non-blocking I/O noatime do not update access time noctty
do not assign controlling terminal from file nofollow do not
follow symlinks
Sending a USR1 signal to a running `dd' process makes it print I/O
statistics to standard error and then resume copying.
Now, its rendered like this:
direct use direct I/O for data
directory
fail unless a directory
dsync use synchronized I/O for data
sync likewise, but also for metadata
nonblock
use non-blocking I/O
noatime
do not update access time
noctty do not assign controlling terminal from file
nofollow
do not follow symlinks
Sending a USR1 signal to a running `dd' process makes it print I/O
statistics to standard error and then resume copying.
>From 4fff95cfe1b1c11501759d8cb5386489628dfabb Mon Sep 17 00:00:00 2001
From: Jim Meyering <[EMAIL PROTECTED]>
Date: Wed, 23 Jul 2008 15:50:40 +0200
Subject: [PATCH] dd: adjust --help output so help2man formats the man page
properly
* src/dd.c (usage): Use two spaces (not one) to separate
"directory" from its description, so help2man formats
the derived man page properly.
---
src/dd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/dd.c b/src/dd.c
index ead9574..5e3547d 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -483,7 +483,7 @@ Each FLAG symbol may be:\n\
if (O_DIRECT)
fputs (_(" direct use direct I/O for data\n"), stdout);
if (O_DIRECTORY)
- fputs (_(" directory fail unless a directory\n"), stdout);
+ fputs (_(" directory fail unless a directory\n"), stdout);
if (O_DSYNC)
fputs (_(" dsync use synchronized I/O for data\n"), stdout);
if (O_SYNC)
--
1.6.0.rc0.16.g6458d
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils