Untitled

From Tiny Cockroach, 8 Years ago, written in Plain Text, viewed 3 times.
URL https://paste.blessuren.de/view/61846ae0 Embed
Download Paste or View Raw
  1. #!/bin/bash
  2.  
  3. pivx-cli listaddressgroupings | grep \" | cut -d \" -f2 | awk /./ | grep -v MN1 > tmp
  4. for i in `cat tmp` ;
  5. do
  6.         DVALUE=`curl --silent http://www.presstab.pw/phpexplorer/PIVX/address.php?address=$i | grep -o '<th>Minted</th><td>.*</td>' | cut -d '>' -f 4 | cut -d '<' -f 1`
  7.         VALUE=${DVALUE%.*}
  8.         if [ $VALUE -ne 0 ]; then
  9.           echo "$i $DVALUE"
  10.         fi
  11. done
  12.  

Reply to "Untitled"

Here you can reply to the paste above