Skip to content

Commit

Permalink
e sed for Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
isidore committed Aug 2, 2022
1 parent c39a9bf commit da1d58a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions set_formatting_off.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash

sed -i '' 's/<!-- formatter_plugin_begin -->/<!-- formatter_plugin_begin/g' pom.xml
sed -i '' 's/<!-- formatter_plugin_end -->/ formatter_plugin_end -->/g' pom.xml
sed -i 's/<!-- formatter_plugin_begin -->/<!-- formatter_plugin_begin/g' pom.xml
sed -i 's/<!-- formatter_plugin_end -->/ formatter_plugin_end -->/g' pom.xml

4 changes: 2 additions & 2 deletions set_formatting_on.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash

sed -i '' 's/<!-- formatter_plugin_begin/<!-- formatter_plugin_begin -->/g' pom.xml
sed -i '' 's/ formatter_plugin_end -->/<!-- formatter_plugin_end -->/g' pom.xml
sed -i 's/<!-- formatter_plugin_begin/<!-- formatter_plugin_begin -->/g' pom.xml
sed -i 's/ formatter_plugin_end -->/<!-- formatter_plugin_end -->/g' pom.xml

0 comments on commit da1d58a

Please sign in to comment.