From f7bcddf07c5396c615bb75892fff2cade71abc8f Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 18 Jan 2012 19:37:53 +0100 Subject: [PATCH] Moved the simplest example to the top. --- man/duff.1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/man/duff.1 b/man/duff.1 index dc636d7..0c30365 100644 --- a/man/duff.1 +++ b/man/duff.1 @@ -159,17 +159,17 @@ This option suppresses reporting a cluster of empty files. .Sh EXAMPLES .\" TODO: Fix the formatting of the example commands. The command: +.Dl duff -r foo/ +.Pp +lists all duplicate files in the directory foo and its subdirectories. +.Pp +The command: .Dl duff -e0 * \&| xargs -0 rm .Pp removes all duplicate files in the current directory. Note that it's usually a good idea to check what will be removed before running a command like the one above. .Pp The command: -.Dl duff -r foo/ -.Pp -lists all duplicate files in the directory foo and its subdirectories. -.Pp -The command: .Dl find \&. -name '*.h' -print0 \&| duff -0 | xargs -0 -n1 echo .Pp lists all duplicate header files in the current directory and its subdirectories, correctly handling file names containing whitespace.