ob-sed-test: Make the tests pass on BSD systems, such as macOS
* testing/examples/ob-sed-test.org: Fix BSD sed incompatibility
This commit is contained in:
parent
9b690462a3
commit
48ac65bea0
|
@ -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 <extension>=.
|
||||
|
||||
#+BEGIN_SRC sed :in-file test2.txt :cmd-line "-i.backup"
|
||||
s/test/tested again/
|
||||
#+END_SRC
|
||||
|
|
Loading…
Reference in New Issue