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 (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. 🧾


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