ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



SVK::Log::Filter::Head(3)            User Contributed Perl Documentation           SVK::Log::Filter::Head(3)



SYNOPSIS
       SVK::Log::Filter::Head - pass the first N revisions

DESCRIPTION
       The Head filter requires a single integer as its argument.  The integer represents the number of
       revisions that the filter should allow to pass down the filter pipeline.  Head only counts revisions
       that it sees, so if an upstream filter causes the pipeline to skip a revision, Head won't (and can't)
       count it.  As soon as Head has seen the specified number of revisions, it stops the pipeline from
       processing any further revisions.

       This filter is particularly useful when searching log messages for patterns (see
       SVK::Log::Filter::Grep).  For example, to view the first three revisions with messages that match
       "foo", one might use

           svk log --filter "grep foo | head 3"

STASH/PROPERTY MODIFICATIONS
       Head leaves all properties and the stash intact.



perl v5.8.8                                      2006-12-28                        SVK::Log::Filter::Head(3)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.