Created
January 5, 2023 03:46
-
-
Save mrowrpurr/078bfff37f0948d086165f61cc0f959f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Callable from cmd | |
powershell Get-Content -Raw Replace.txt | % { $_ -replace "foo", "XXX" } | Set-Variable x; Set-Content Replace.txt $x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment