Simple image host.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567
  1. #!/bin/bash
  2. TMP_FILE=$(mktemp /tmp/med.XXXXXXXXXX)
  3. cat - > "$TMP_FILE"
  4. vim "$TMP_FILE" < /dev/tty > /dev/tty
  5. cat "$TMP_FILE" > /dev/stdout