Advertisement
actual-batman

Build commented bitcoin.conf file from all available options

May 31st, 2016
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.25 KB | None | 0 0
  1. #!/bin/bash
  2. # Print a list of all available bitcoind commands as a commented out configuration file
  3. echo `bitcoind --help | grep -E "^[ ]*\-[0-9a-zA-Z\-]+" -A 1 #| grep -Eo "[a-zA-Z0-9]+[^ ]*"` | sed -s "s/--/\n/g" | sed -e "s/^ \-/#/g" | sed -s "s/ /\t\t# /"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement