describe helpful example oneliners
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 5 Feb 2011 03:22:22 +0000 (04:22 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Sat, 5 Feb 2011 03:22:22 +0000 (04:22 +0100)
git-grep-footer

index c5d94400521c8bf56c06938762734ee68c8a28fd..6f20fac6f180c281612f0689b7f9b95b86813586 100755 (executable)
@@ -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 <perl@shiar.org>