Monday, May 11, 2026

Re: NEW: sysutils/dsearch - recursive filename search tool

On 2026/05/09 16:11, damian@danielovci.net wrote: > Hi, I'd like to submit a new port for "dsearch", a small recursive filename search tool. It > takes a folder and a search term and prints all files whose names contain that string. Im > planning on updating this with new features in the future. Written in C99, ISC licensed. > Port is attached. > Github: https://github.com/DamianDaniel/dsearch > : #define ANSI_YELLOW "\033[1;33m" : #define ANSI_RESET "\033[0m" this should depend on TERM and not send ANSI colour sequences to terminals which don't support them. : MASTER_SITES = https://github.com/DamianDaniel/dsearch/archive/refs/tags/ this hasn't worked since OpenBSD 7.3 (and should use GH_* variables, see Makefile.template) : dsearch recursively searches a directory and its subdirectories : for files whose names contain a given substring. so this is an alternative to "find $dir -name '*whatever*'"? I'm afraid I don't see the point...

No comments:

Post a Comment