>From 868f878cb50c5234a16b2675688256892467f5f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rudolf=20Adamkovi=C4=8D?= Date: Thu, 6 Oct 2022 21:14:17 +0200 Subject: [PATCH 1/2] ob-sed-test: Make the tests pass on BSD systems, such as macOS * testing/examples/ob-sed-test.org: Fix BSD sed incompatibility --- testing/examples/ob-sed-test.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/testing/examples/ob-sed-test.org b/testing/examples/ob-sed-test.org index aae1323ca..2f8bcb089 100644 --- a/testing/examples/ob-sed-test.org +++ b/testing/examples/ob-sed-test.org @@ -30,6 +30,9 @@ :ID: E3C6A8BA-39FF-4840-BA8E-90D5C4365AB1 :END: - #+BEGIN_SRC sed :in-file test2.txt :cmd-line "-i" + /Note:/ Use =-i.backup= instead of just =-i= because the BSD =sed=, + unlike the GNU =sed=, requires =-i =. + + #+BEGIN_SRC sed :in-file test2.txt :cmd-line "-i.backup" s/test/tested again/ #+END_SRC -- 2.37.3