Last active
September 10, 2024 02:29
-
-
Save acidtib/f4022339db1bc26a1fcf7d66d4c44e2e to your computer and use it in GitHub Desktop.
This file contains 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
for x in $(cat webcash.log) ; do webcash insert $x &> /dev/null && echo "OK: $x" || echo "ERROR: $x" ; done |
This file contains 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
Get-Content webcash.log | ForEach-Object { if (webcash insert $_ *> $null) { "OK: $_" } else { "ERROR: $_" } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment