[GTALUG] A find alternative: fselect

Dave Collier-Brown Dave.Collier-Brown at indexexchange.com
Wed Jun 12 19:13:52 EDT 2019


There are a couple of really odd CLIs in Unix. find(1) is one, and dd(7)
is another.  dd is pure multics, and find is just weird, with the
options and parameters reversed from common practice.

Hysterical accident!

--dave

On 2019-06-12 5:39 p.m., D. Hugh Redelmeier via talk wrote:
> | From: Christopher Browne via talk <talk at gtalug.org>
>
> | $ fselect path, size from ~/Downloads where size gt 30mb order by size desc limit 25
>
> That looks pretty ugly too.
>
> | FYI, fselect is written in Rust, and has a goodly number of ("painfully
> | large number of") dependencies, quasi-self-managed via the Rust-oriented
> | dependency tool, Cargo.
>
> Rust culture and practice doesn't seem to like shared libraries..  I do.
> (Just like I find the update model for persistent containers unfortunate.)
>
> | The output is intended to be human readable moreso than machine readable.
> | (That said, how many of us still use /usr/bin/find to generate input for
> | cpio???)
>
> xargs(1)
>
> It too is useful but ugly.
> ---
> Talk Mailing List
> talk at gtalug.org
> https://gtalug.org/mailman/listinfo/talk

--
David Collier-Brown,         | Always do right. This will gratify
System Programmer and Author | some people and astonish the rest
dave.collier-brown at indexexchange.com |              -- Mark Twain


CONFIDENTIALITY NOTICE AND DISCLAIMER : This telecommunication, including any and all attachments, contains confidential information intended only for the person(s) to whom it is addressed. Any dissemination, distribution, copying or disclosure is strictly prohibited and is not a waiver of confidentiality. If you have received this telecommunication in error, please notify the sender immediately by return electronic mail and delete the message from your inbox and deleted items folders. This telecommunication does not constitute an express or implied agreement to conduct transactions by electronic means, nor does it constitute a contract offer, a contract amendment or an acceptance of a contract offer. Contract terms contained in this telecommunication are subject to legal review and the completion of formal documentation and are not binding until same is confirmed in writing and has been signed by an authorized signatory.


More information about the talk mailing list