The NetBSD Project

CVS log for pkgsrc/textproc/molybdenum/cargo-depends.mk

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / textproc / molybdenum

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 2 17:19:02 2021 UTC (6 months ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, HEAD
Changes since 1.1: +13 -1 lines
Diff to previous 1.1 (colored)

textproc/molybdenum: update to 0.1.4

-Removed warnings and dead code.
-Add support for searching hidden and ignored files.

Revision 1.1 / (download) - annotate - [select for diffs], Sat May 29 17:21:42 2021 UTC (6 months, 1 week ago) by pin
Branch: MAIN

textproc/molybdenum: import package

Recursive _search and replace_ CLI application.

Powerful search can be found without problems, eg, grep, ack, ag, ripgrep
or broot.

Tools for replacing recursively in a folder are more difficult to find,
although some exist: fart-it. Typically, people use a combination of searching,
xargs and a replacement tool like sed or rpl.

I use code searching a lot to investigate a large source code base before
attempting a replace. Even with 100k files, search is fast and fairly easy.
Recursively replacing text is much more dangerous, especially if it requires
the combination of several less frequently used tools; it's difficult to
remember a search-xargs-replace combination if not used on a daily basis.
On top of this, the search tool used to filter the set of files and perform a
dry-run, is not per-se using the same search query as the replace tool.
After all, these are different tools. It would be better if a single tool could
be used for every-day searching and replacing.
This is exactly what The Molybdenum Replacer intends to achieve.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>