Skip to content

Instantly share code, notes, and snippets.

@acidtib
Last active September 10, 2024 02:29
Show Gist options
  • Save acidtib/f4022339db1bc26a1fcf7d66d4c44e2e to your computer and use it in GitHub Desktop.
Save acidtib/f4022339db1bc26a1fcf7d66d4c44e2e to your computer and use it in GitHub Desktop.

Revisions

  1. acidtib revised this gist Sep 10, 2024. 2 changed files with 1 addition and 0 deletions.
    File renamed without changes.
    1 change: 1 addition & 0 deletions windows.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    Get-Content webcash.log | ForEach-Object { if (webcash insert $_ *> $null) { "OK: $_" } else { "ERROR: $_" } }
  2. acidtib created this gist Sep 10, 2024.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    for x in $(cat webcash.log) ; do webcash insert $x &> /dev/null && echo "OK: $x" || echo "ERROR: $x" ; done