200426.5 · 481b64a667e8d9aca522a0455a00f32dac1f4977
initial commit of ~/bin
This brings over everything that was in my bin-only repository.
I removed scripts that were unused or were no longer understood. I also moved any work-specific scripts to a separate (private) repository.
reading declarations
Changes to bin/ssh-gen-askpass-runner. All files
@@ -0,0 +1,18 @@+#!/bin/sh++set -e++if [ $# != 1 ]; then+ echo "Usage: $(basename "$0") pass-key-path" >&2+ exit 1+fi++key="$1"+tmpfile="$(mktemp -t ssh-askpass-runner-XXXXX.sh)"+cat > "$tmpfile" <<EOF+#!/bin/sh++pass "$key" | head -n1+EOF+chmod +x "$tmpfile"+echo "$tmpfile"