Skip to content

Commit

Permalink
Properly quote here document delimiter to escape content
Browse files Browse the repository at this point in the history
Without the quotes, the body of the here document is interpreted by
the shell potentially leading to all kind of weird behaviour.
  • Loading branch information
abailly committed Nov 25, 2024
1 parent db610a8 commit 9ba2a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tx-gen/gen-deposits.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

usage () {
cat <<EOF
cat <<'EOF'
Usage: ./gen-deposits.sh <tx-in> <utxo value> <change-address> <signing key file>
A naive script to generate and sign deposit transactions to random accounts in a wallet.
Expand Down

0 comments on commit 9ba2a11

Please sign in to comment.