⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
TYPO3 Core
All Projects
TYPO3 Core
Overview
Activity
Roadmap
Issues
Repository
Download (245 Bytes)
Task #54020
» bugtracker-replace.sh
Steffen Gebert
, 2013-11-27 21:03
#!/bin/bash
while
read
old new
do
echo
"
$old
->
$new
"
old
=
$(
echo
$old
|
sed
"s/
\?
/
\\
?/g"
)
for
file
in
$(
grep
-r
-il
"
$old
"
*
)
do
echo
"Found
$old
in file
$file
"
sed
-i
''
-e
"s#
$old
#
$new
#g"
$file
done
done
< ~/bugtracker-replace.txt
« Previous
1
2
Next »
(1-1/2)
Loading...