mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-14 16:04:36 +01:00
Add libsodium source
This commit is contained in:
12
libsodium-1.0.18-RELEASE/msvc-scripts/rep.vbs
Normal file
12
libsodium-1.0.18-RELEASE/msvc-scripts/rep.vbs
Normal file
@@ -0,0 +1,12 @@
|
||||
Dim pat, patparts, rxp, inp
|
||||
pat = WScript.Arguments(0)
|
||||
patparts = Split(pat, "/")
|
||||
Set rxp = new RegExp
|
||||
rxp.Global = True
|
||||
rxp.Multiline = False
|
||||
rxp.Pattern = patparts(1)
|
||||
Do While Not WScript.StdIn.AtEndOfStream
|
||||
inp = WScript.StdIn.ReadLine()
|
||||
WScript.Echo rxp.Replace(inp, patparts(2))
|
||||
Loop
|
||||
|
||||
Reference in New Issue
Block a user