Binary package “pyp” in ubuntu noble
sed/awk-like tool with Python language
pyp, the Pyed Piper, is a command line tool for text manipulation. It
is similar to awk and sed in functionality, but its subcommands are
Python based, and thus more familiar to many programmers.
.
It can operate both on a per-line base and on the complete input
stream. Different features can be pipelined in a single command by
using the pipe character familiar from shell commands.
.
pyp backs up its input for reruns with modified commands, and can save
commands as macros. On the downside, the rerun feature makes it
unsuitable for continuous pipe operation.