1 2 3 4 5 6
#!/bin/sh T=$(mktemp) curl -so $T https://plan.cat/~rgoncalves $EDITOR $T curl -su "rgoncalves:$(get-pass plan.cat)" -F "plan=<$T" https://plan.cat/stdin