From e3a12b57f571423979869b28c4b49f78abe6e2c4 Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Tue, 31 Jan 2017 16:00:17 -0800 Subject: [PATCH] Use -E sed parameter instead of -r. BSD sed equivalent to -r parameter is -E and it is also supported in GNU sed thus using -E results in support on both platforms. --- manual/clean.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/clean.sh b/manual/clean.sh index 11c2e7bf2..addc34ed1 100755 --- a/manual/clean.sh +++ b/manual/clean.sh @@ -1,2 +1,2 @@ #!/bin/bash -for f in $( find . -name .gitignore ); do sed -re "s,^,find ${f%.gitignore} -name ',; s,$,' | xargs rm -f,;" $f; done | bash -v +for f in $( find . -name .gitignore ); do sed -Ee "s,^,find ${f%.gitignore} -name ',; s,$,' | xargs rm -f,;" $f; done | bash -v -- 2.30.2