Sign in
third-party-mirror
/
liblouis_for_aas
/
refs/heads/master
/
.
/
liblouis
/
windows
/
utils
/
find-replace.ps1
blob: ab1e261b27efac27ffb86bfdd3ea793e8ec8b4ba [
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