projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5541b42
)
Use -E sed parameter instead of -r.
author
Piotr Esden-Tempski
<piotr@esden.net>
Wed, 1 Feb 2017 00:00:17 +0000
(16:00 -0800)
committer
Piotr Esden-Tempski
<piotr@esden.net>
Sun, 5 Feb 2017 02:26:01 +0000
(18:26 -0800)
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
patch
|
blob
|
history
diff --git
a/manual/clean.sh
b/manual/clean.sh
index 11c2e7bf2a4c978c00bcb454305928098b1cccd4..addc34ed1838de9f67454e70b3d9c13b5f9c58c1 100755
(executable)
--- a/
manual/clean.sh
+++ b/
manual/clean.sh
@@
-1,2
+1,2
@@
#!/bin/bash
-for f in $( find . -name .gitignore ); do sed -
r
e "s,^,find ${f%.gitignore} -name ',; s,$,' | xargs rm -f,;" $f; done | bash -v
+for f in $( find . -name .gitignore ); do sed -
E
e "s,^,find ${f%.gitignore} -name ',; s,$,' | xargs rm -f,;" $f; done | bash -v