1 2 3 4 5 6 7 8
#!/bin/bash # Outputs all the "ipfs" values from the DATA blocks of our ZCHAIN if [ ! -z $1 ] then enter $1 | jq | grep ipfs | awk '{print $2}' | sed -e 's/"//g;s/,//g' else enter | jq | grep ipfs | awk '{print $2}' | sed -e 's/"//g;s/,//g' fi