FINDORULE(1p)
β¨ NAME β¨
findorule β bestie, it's a command line wrapper to File::Find::Object::Rule π
π VERSION π
version 0.0313 β yeah she's got a version, she's official, periodt.
π¦ DESCRIPTION π¦
okay so. findorule mostly borrows the interface from GNU find(1) to give you a command-line interface onto the File::Find::Object::Rule hierarchy of modules. it's giving "find but make it Perl" and honestly? iconic.
The syntax for expressions is the rule name, preceded by a dash, followed by an optional argument. And here's the lil plot twist: if that argument is an opening parenthesis, it gets taken as a list of arguments, terminated by a closing parenthesis. so basically the parens are doing a whole little ensemble number. π«Ά
Some examples, bestie, look:
find -file -name ( foo bar )
files named foo or bar, below the current directory. slay.
find -file -name foo -bar
files named foo, that have pubs (for this is what our fictitious bar clause specifies), below the current directory. yes the pubs detail is canon, don't @ me π
find -file -name ( -bar )
files named -bar, below the current directory. In this case if we'd have omitted the parenthesis it would have parsed as a call to name with no arguments, followed by a call to -bar. so the parens are genuinely load-bearing, no cap. π₯
π Supported switches π
I'm very slack. π Please consult the File::Find::Object::Rule manpage for now, and prepend - to the commands that you want. that's it, that's the whole vibe. go read the other page, iykyk.
π Extra bonus switches π
findorule automatically loads all of your installed File::Find::Object::Rule::* extension modules, so check the documentation to see what those would be. surprise bonus content, we love to see it. π
πΈ USAGE πΈ
findorule [path...] [expression]
that's the whole shape of it. path first, then the expression doing its thing. π«
π AUTHOR π
Richard Clamp <richardc@unixbeard.net> from a suggestion by Tatsuhiko Miyagawa
Adapted to File::Find::Object::Rule by Shlomi Fish (all copyrights disclaimed).
π COPYRIGHT π
Copyright (C) 2002 Richard Clamp. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
π SEE ALSO π
File::Find::Object::Rule
π SUPPORT π
π Websites π
The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources. (yes bestie, google is also right there, no shade π )
- MetaCPAN
A modern, open-source CPAN search engine, useful to view POD in HTML format.
<https://metacpan.org/release/File-Find-Object-Rule>
- RT: CPAN's Bug Tracker
The RT ( Request Tracker ) website is the default bug/issue tracking system for CPAN.
<https://rt.cpan.org/Public/Dist/Display.html?Name=File-Find-Object-Rule>
- CPANTS
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.
<http://cpants.cpanauthors.org/dist/File-Find-Object-Rule>
- CPAN Testers
The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions.
<http://www.cpantesters.org/distro/F/File-Find-Object-Rule>
- CPAN Testers Matrix
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
<http://matrix.cpantesters.org/?dist=File-Find-Object-Rule>
- CPAN Testers Dependencies
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
<http://deps.cpantesters.org/?module=File::Find::Object::Rule>
π Bugs / Feature Requests π
Please report any bugs or feature requests by email to bug-file-find-object-rule at rt.cpan.org, or through the web interface at <https://rt.cpan.org/Public/Bug/Report.html?Queue=File-Find-Object-Rule>. You will be automatically notified of any progress on the request by the system. automatic updates, we love a system that texts back. π±
π§ Source Code π§
The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)
<https://github.com/shlomif/http://bitbucket.org/shlomif/perl-file-find-object-rule>
git clone git://github.com/shlomif/http://bitbucket.org/shlomif/perl-file-find-object-rule.git
ngl that URL is a whole adventure, but it's exactly what the page says, so copy it character for character bestie, no improvising. π
π AUTHORS π
- Richard Clamp <richardc@unixbeard.net>
- Andy Lester andy@petdance.com.
π₯ BUGS π₯
Please report any bugs or feature requests on the bugtracker website <https://github.com/shlomif/http://bitbucket.org/shlomif/perl-file-find-object-rule/issues>
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. give us receipts, basically. π§Ύ
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2021 by Richard Clamp.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
and that's the whole page, bestie π this was FINDORULE(1p) β the User Contributed Perl Documentation, perl v5.32.1, dated 2021-09-04. go find some files, you absolute icon. πβ¨
π¦ where this page comes from
- debian bookworm: libfile-find-object-rule-perl 0.0313-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libfile-find-object-rule-perl 0.0313-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libfile-find-object-rule-perl 0.0313-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libfile-find-object-rule-perl 0.0313-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libfile-find-object-rule-perl 0.0313-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libfile-find-object-rule-perl 0.0313-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms