From fa4f3c5c17ac0a832aea8933e5e723b9f40239c6 Mon Sep 17 00:00:00 2001 From: John MacFarlane <jgm@berkeley.edu> Date: Tue, 8 May 2018 11:51:50 -0700 Subject: [PATCH] test-pandoc-utils.lua - use tr instead of sed. It should be installed on all *nix systems. --- test/lua/test-pandoc-utils.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lua/test-pandoc-utils.lua b/test/lua/test-pandoc-utils.lua index 4d02f6980..f0040062e 100644 --- a/test/lua/test-pandoc-utils.lua +++ b/test/lua/test-pandoc-utils.lua @@ -41,7 +41,7 @@ function test_pipe () local pipe_result = pandoc.pipe('echo', {}, 'hi') return pipe_result == 'hi\n' or pipe_result == 'hi' else - local pipe_result = pandoc.pipe('sed', {'-e', 's/a/b/'}, 'abc') + local pipe_result = pandoc.pipe('tr', {'a', 'b'}, 'abc') return pipe_result == 'bbc\n' or pipe_result == 'bbc' end end