Skip to content

Instantly share code, notes, and snippets.

@brianjriddle
Created December 17, 2021 14:28
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 brianjriddle/d0365f47e0b7d5115ee7ec8c436cce82 to your computer and use it in GitHub Desktop.
Save brianjriddle/d0365f47e0b7d5115ee7ec8c436cce82 to your computer and use it in GitHub Desktop.
best stupid hack to rinse formatting between all types of clients
#!/bin/bash
# This has got to be the best dumb hack i've seen.
# what does this do? basically just strips *any* formatting you happen to have in your pastebuffer and remove it.
# Now i can copy and paste from any program and paste *clean* UTF-8 like ken thompson intended https://www.cl.cam.ac.uk/~mgk25/ucs/utf-8-history.txt
pbpaste | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment