Sign in
nest-open-source
/
manifest_repos
/
liblouis-github
/
c4a5912cfbf6366501abfee055a6c89490f03746
/
.
/
windows
/
utils
/
find-replace.ps1
blob: 3b3f62321493096e5263a03bd1e0b6a3400c2ea2 [
file
] [
log
] [
blame
]
# Simple sed-like utility script
Param
(
[
string
]
$InputFile
,
[
string
]
$OutputFile
,
[
string
]
$Str1
,
[
string
]
$Str2
)
Get
-
Content
$InputFile
|
%{
$_
-
Replace
$Str1
,
$Str2
}
|
Out
-
File
$OutputFile
-
Encoding
UTF8
-
Width
256