org-mode/testing/examples/ob-sed-test.org

848 B

a collection of examples for ob-sed tests

Test simple execution of sed script

  An example sentence.
  s/n example/ processed/
  2 d

Test :in-file header argument

s/test/tested/

Test :cmd-line header argument

Note: Use -i.backup instead of just -i because the BSD sed, unlike the GNU sed, requires -i <extension>.

  s/test/tested again/