1 2 3 4 5 6 7
#!/bin/sh if command -v lbdb-fetchaddr > /dev/null; then { tee /dev/fd/3 | lbdb-fetchaddr >&2; } 3>&1 else cat fi