Skip to content

Commit fe468a2

Browse files
committed
Find and replace with sed.
1 parent 2a22bc6 commit fe468a2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cmd/example.bash

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ cmd_stdout_and_stderr() {
2626
exit 1
2727
}
2828

29+
cmd_loop() {
30+
for file in $(find -type f); do sed -i 's/\\Data\\/\\DataProvider\\/' $file; done
31+
}
32+
2933
cmd_associative_array_looping() {
3034
declare -A array=(
3135
[foo]=bar1

0 commit comments

Comments
 (0)