pod::abstract::filter::find(3pm) [debian man page]
Pod::Abstract::Filter::find(3pm) User Contributed Perl Documentation Pod::Abstract::Filter::find(3pm)NAME
Pod::Abstract::Filter::find - paf command to find specific nodes that contain a string.
DESCRIPTION
The intention of this filter is to allow a reduction of large Pod documents to find a specific function or method. You call "paf find
-f=function YourModule", and you get a small subset of nodes matching "function".
For this to work, there has to be some assumptions about Pod structure. I am presuming that find is not useful if it returns anything
higher than a head2, so as long as your module wraps function doco in a head2, head3, head4 or list item, we're fine. If you use head1 then
it won't be useful.
In order to be useful as an end user tool, head1 nodes (...) are added between the found nodes. This stops perldoc from dying with no
documentation. These can be easily stripped using: "$pa->select('/head1')", then hoist and detach, or reparent to other Node types.
A good example of this working as intended is:
paf find select Pod::Abstract::Node
AUTHOR
Ben Lilburne <bnej@mac.com>
COPYRIGHT AND LICENSE
Copyright (C) 2009 Ben Lilburne
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-01-03 Pod::Abstract::Filter::find(3pm)
Check Out this Related Man Page
Pod::Abstract::Filter(3pm) User Contributed Perl Documentation Pod::Abstract::Filter(3pm)NAME
Pod::Abstract::Filter - Generic Pod-in to Pod-out filter.
DESCRIPTION
This is a superclass for filter modules using Pod::Abstract. Subclasses should override the "filter" sub. Pod::Abstract::Filter classes in
the Pod::Abstract::Filter namespace will be used by the "paf" utility.
To create a filter, you need to implement:
filter
Takes a Pod::Abstract::Node tree, and returns either another tree, or a string. If a string is returned, it will be re-parsed to be
input to any following filter, or output directly if it is the last filter in the list.
It is recommended your filter method produce a Node tree if you are able to, as this will improve interoperability with other
"Pod::Abstract" based software.
require_params
If you want positional arguments following your filter in the style of:
paf find [thing] Pod::Abstract
then override require_params to list the named arguments that are to be accepted after the filter name.
METHODS
new
Create a new filter with the specified arguments.
require_params
Override to return a list of parameters that must be provided. This will be accepted in order on the command line, unless they are first
set using the "-flag=xxx" notation.
param
Get the named param. Read only.
filter
Stub method. Does nothing, just returns the original tree.
run
Run the filter. If $arg is a string, it will be parsed first. Otherwise, the Abstract tree will be used. Returns either a string or an
abstract tree (which may be the original tree, modified).
AUTHOR
Ben Lilburne <bnej@mac.com>
COPYRIGHT AND LICENSE
Copyright (C) 2009 Ben Lilburne
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-01-03 Pod::Abstract::Filter(3pm)
Hi,
I am facing an interesting aspect of find command...
to be clear, we are running a small web server with oracle 8i database and Oralce9iAS on Sun E250 with Solaris 2.6
Over a period of time, the free memory ( displayed in 'top' utility ) drops down.. we could relate this to dedicated... (6 Replies)
Hi,
Having issues with the . parameter in the find command.
Issuing "find . -name \*.pl" gives me
find: cannot open .: No such device
I got it working by substituting . with *, so "find * -name \*.pl" gives the correct listing.
bin/test.pl
"which find" lists /bin/find.
Anybody... (7 Replies)
Can some please help me? Want to find files over 35 characters in length? I am running HPUX. Would it be possible with find?
Thanks in advance (8 Replies)
Hi all,
One of my computers (an iMac) was recently stolen, but I have been able to connect to it over the internet through Apple's 'back to my mac' feature. In order for the police to find these people they need to know the IP address of the stolen computer.
I suspect that I will have find the... (6 Replies)
for x in `find /vmfs/volumes/v01tstn01a01/ -type d`; do find $x -name '*.vmx' > /dev/null || echo $x; done;
The goal of this is to find the subdirectories that do NOT contain a file with the extension of .vmx
Any help would be great! (6 Replies)
I have three question about find
1)regardless if it can "find" something or not, the "find" will return 0,how can we use "if" to judge not find or find?
for example
#find bin/ -name bla.c
1)find it will return 0
2) not found it will return 0
the question is how can I use "if" in... (13 Replies)
Hello folks,
Someone willing to explain what running 'tabmon -sh' does?
Where can I find it in Unix? How does it work?
I've been searching on google, but I cannot find any explanation :(
Thanks for any reply,
Arjan (9 Replies)
I am trying to find a specific set of characters in a long file. I only want to find the characters in column 265 for 4 bytes.
Is there a search for that? I tried cut but couldn't get it to work.
Ex. I want to find '9999' in column 265 for 4 bytes. If it is in there, I want it to print... (12 Replies)
Hi & good day,
How to use find correctly ?
I have several folders, _img1, _img2 etc.
Then I want to use the find command to find part of an image name, such as:
the string ”modern”
which is (at least) in:
”_img2/modern_world2PS220.jpg”
Also I want to know _in which folder_ it... (10 Replies)
First of all, apologies if this has already been answered elsewhere. I haven't quite been able to find what I'm looking for yet, so hopefully this won't come across as repetition.
I have a file consisting of ~100 nearly identical lines, each of which contains multiple instances of the string I... (11 Replies)
Hello and thanks in advance for any help anyone can offer me
I'm trying to learn the find command and thought I was understanding it... Apparently I was wrong. I was doing compound searches and I started getting weird results with the -size test. I was trying to do a search on a 1G file owned by... (14 Replies)