set -e for f in tx*.yml; do echo f: $f #cat $f | sed -e "s/$/%0a/g" | curl -s -X POST http://127.0.0.1:8089/api/0.0/istxvalid -d @- cat $f | json_xs -f yaml | grep -v 'null' | curl -s -X POST http://127.0.0.1:8089/api/0.0/settx -d @- echo '' done for f in tx*.json; do cat $f | curl -s -X POST http://127.0.0.1:8089/api/0.0/settx -d @- echo '' done