SVK::Lo...r::Head(3)
π SVK::Log::Filter::Head(3) π
okay so bestie, welcome to the SVK::Log::Filter::Head page π it lives in the User Contributed Perl Documentation section of your manual, and it's genuinely one of the cutest little filters in the whole pipeline. let's get into it π«Ά
β¨ SYNOPSIS β¨
SVK::Log::Filter::Head - pass the first N revisions
that's it. that's the whole vibe. she passes the first N revisions, periodt. π
πΈ DESCRIPTION πΈ
so Head is a filter, and she takes exactly one integer as her argument. no more, no less. that integer is literally the number of revisions she's gonna let slide on down the filter pipeline π«
and here's the tea, bestie: Head only counts revisions that she actually sees. so if some upstream filter does a little skip-skip and the pipeline never hands her a revision, she won't count it β and honestly she can't, it's not a her problem π. she's not psychic, she's a filter.
the second she's seen the number of revisions you told her about? she stops the pipeline dead. no further revisions get processed. that's the whole job, and she ate. πβ¨
ngl this filter is lowkey iconic when you're out here searching log messages for patterns (peep SVK::Log::Filter::Grep for that π§). for example, if you wanna see the first three revisions whose messages match "foo", you might go:
svk log --filter "grep foo | head 3"
see how they're stacked? grep does the matching, head does the cutting. it's giving teamwork π
π STASH/PROPERTY MODIFICATIONS π
Head is a respectful queen. she leaves all properties and the stash completely intact. doesn't touch a thing. no cap. π
and that's the whole page, bestie!! πβ this was the SVK::Log::Filter::Head manual, straight out of the User Contributed Perl Documentation, brought to you by perl v5.42.0 on 2025-07-25 π¦π mwah, love u, go read your logs ππ
π¦ where this page comes from
- fedora 43: perl-SVK 2.2.3-45.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms