#!/usr/bin/env bash tmp="$(mktemp -d)"; trap 'rm -f "$tmp"/*; rmdir "$tmp"' EXIT nonce="$(od -An -N16 -tx1 /dev/urandom | tr -d ' \n')" printf '%s\n%s\n\n%s' "$(date +%s)" "$nonce" "$*" > "$tmp/commit"
Commit
8e19c8e
8e19c8e
#!/usr/bin/env bash tmp="$(mktemp -d)"; trap 'rm -f "$tmp"/*; rmdir "$tmp"' EXIT nonce="$(od -An -N16 -tx1 /dev/urandom | tr -d ' \n')" printf '%s\n%s\n\n%s' "$(date +%s)" "$nonce" "$*" > "$tmp/commit"