Sign in
chromium
/
external
/
liblouis-github
/
refs/heads/dependabot/github_actions/github/codeql-action-4.32.0
/
.
/
windows
/
utils
/
find-replace.ps1
blob: 3b3f62321493096e5263a03bd1e0b6a3400c2ea2 [
file
] [
log
] [
blame
] [
edit
]
# 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