Amber – modern tool to find and replace from the terminal
I was looking for a modern way to quickly find and replace text from the terminal, and I stumbled upon a Rust tool called amber. It’s quite interesting, especially for quick replacements.
Amber provides two commands: ambs for search and ambr for replacement (as you can guess from the suffixes).
It’s super simple to use:
| |
Replacement in action
| |
The interactive prompt lets you review each replacement before applying it, giving you fine-grained control.
Search in action
| |
The -r flag enables regex support, making it easy to handle case-insensitive searches or more complex patterns.