rmln
simply strips blanks lines from standard input.
Optionally, it can strip linkes consisting of only clear-text.
It is a very simple usecase that I'm solving for but it occurs frequently enough to warrant building a tool to solve it.
Convenience comparisons:
Tool | Usage |
---|---|
grep | grep -vE '^\s*$' |
sed | sed '/^[[:space:]]*$/d' |
vim | :g/^\s*$/d |
rmln | rmln -s |
Examples
rmln <<'EOF'
> line1
>
> line2
> line3
> EOF
yielding:
line1
line2
line3
Signatures
- The
rmln_0.3.0_amd64.snap
signature can be found here. - The
rmln_0.3.0_arm64.snap
signature can be found here.
Pseudo-SBOM
The lockfile can be found here.