sed

Examples

sed -i "s foo bar g" filename.txt

... replaces (in place) all occurrences of foo with bar in filename.txt



sed -n "23,98p" filename.txt

... prints lines 23->98 of filename.txt

2026-04-11 13:06:03

minicms - © 2020-2026 Simeon Simeonov