Skip to content

Instantly share code, notes, and snippets.

@FlorianWendelborn
Created May 3, 2017 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FlorianWendelborn/3b817077e19947154b8db3062d05ae6e to your computer and use it in GitHub Desktop.
Save FlorianWendelborn/3b817077e19947154b8db3062d05ae6e to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
rm -f text
vi text
rm -f text.asc
gpg --clearsign text
cat text.asc | sed -e 's/^/ /' | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment