#!/bin/bash PROGRAM="$(basename $0)" usage(){ echo "$PROGRAM from to amount" } logit(){ logthis "<$PROGRAM>" "$1" "$2" } main(){ logit "[INFO]" "$FROM_ADDRESS to $TO_ADDRESS value sent: $AMOUNT" cat > transaction_file < data <