Package: wnpp Severity: wishlist * Package name : rawhide Version : 3.3 Upstream Contact: raf <r...@raf.org> * URL : https://raf.org/rawhide/ * License : GPL3+ Programming Lang: C Description : find files using pretty C expressions
Rawhide (rh(1)) lets you search for files on the command line using expressions and user-defined functions in a mini-language inspired by C. It's like find(1), but more fun to use. Search criteria can be very readable and self-explanatory and/or very concise and typeable, and you can create your own lexicon of search terms. The output can include lots of detail, like ls(1). You can search with file glob patterns and Perl-compatible regular expressions (regexes). You can search by name, path, symlink target path, body, access control list (ACL), extended attributes (EA), and all the usual file metadata (file type, permissions, owner, size, modification time, etc.). ------------------- This package is useful/relevant because it is more capable than find(1) and much more fun to use, and much easier to remember how to use. Since writing it, I haven't had to use find(1) at all, and I am very happy about that. I think that anyone who discovers rawhide would rather use it than find(1). Even the original author of find(1) said in the 1979 manual entry BUGS section: "The syntax is painful". And that syntax became an international standard so we're stuck with it forever. Rawhide has much nicer syntax and many more search criteria available (access control lists, extended attribute names and values, ext2fs-style file attributes (like immutable and append-only), libmagic file-type (like file(1) output), mime-type, the file's content, all the struct stat fields). The output can be plain, or like ls(1) or JSON, so it can be used in combination with jq(1) for even more fun. I will maintain the software itself indefinitely. I'm hoping a Debian Developer will adopt the packaging of it.