>_ IzzyLab

Topic breakdown

In a single sed call you can run several commands in a row, separating them with a semicolon. A blank line is described by a regex of the start anchor placed right before the end-of-line anchor (with no characters between them), and a comment line — by the start-of-line anchor before the right character. Each condition gets its own "address + delete command" pair; the order of the commands doesn't matter.

What's checked

  1. blank lines and comments are removed

What it looks like