Next Hold Space 13

sed

  • Another variation on ed was sed, the "stream editor"

  • It took an ed command and applied it to every line in the input

  • Typically something like:

        sed -e 's/:.*//'  # discard the colon and everything following

Next Next