minised

Lightweight SED implementation offering faster performance and smaller footprint

brewmacoslinux
Try with needOr install directly
Source

About

Smaller, cheaper, faster SED implementation

Commands

minised

Examples

Replace first occurrence of pattern in a file$ minised 's/old/new/' file.txt
Replace all occurrences globally and output to new file$ minised 's/old/new/g' input.txt > output.txt
Delete lines matching a pattern$ minised '/pattern/d' file.txt