From fd7e377bdab3b1d3d586099aba9f8dc28d0d4040 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sat, 5 Feb 2011 04:22:22 +0100 Subject: [PATCH] describe helpful example oneliners --- git-grep-footer | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/git-grep-footer b/git-grep-footer index c5d9440..6f20fac 100755 --- a/git-grep-footer +++ b/git-grep-footer @@ -228,6 +228,33 @@ Causes output to be buffered until all input has been read (obviously). =back +=head1 EXAMPLES + +=over + +=item git-grep-footer --grep=^ack + +Search for Acked-by lines. +Append C<-uin> to skip reoccurrences. + +=item git-grep-footer -u --grep=junio + +Show distinct lines mentioning a specific author. + +=item git-grep-footer -c --simplify --grep=^si + +Compare various capitalisations and (mis)spellings of signoffs. + +=item git-grep-footer -c --simplify=all -i | sort -n -r | head -n10 + +List the ten most frequently used attribute names. + +=item git-grep-footer -n2 -i -s + +Upto two examples for each distinct identifier. + +=back + =head1 AUTHOR Mischa POSLAWSKY -- 2.30.0