Last active
January 8, 2022 19:38
-
-
Save levigroker/cd252cc656234dd8b19bfd4d96255a5c to your computer and use it in GitHub Desktop.
A BBEdit Text Filter script to take textual input and produce Base64 encoded text of the same.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Base64 Encode | |
# https://gist.github.com/levigroker/cd252cc656234dd8b19bfd4d96255a5c | |
# | |
# A BBEdit Text Filter script to take textual input and produce Base64 encoded text of the | |
# same. | |
# See https://www.bbeditextras.org/text-filters/ | |
# Levi Brown | |
# @levigroker | |
# [email protected] | |
# 2022-01-07 | |
## | |
IN=$(tee) | |
OUT=$(echo -n "$IN" | base64) | |
echo -n "${OUT}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment