Skip to content

Instantly share code, notes, and snippets.

@levigroker
Last active January 15, 2022 20:23
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save levigroker/aacf13e1d3f88403df214542c05483b4 to your computer and use it in GitHub Desktop.
Save levigroker/aacf13e1d3f88403df214542c05483b4 to your computer and use it in GitHub Desktop.
A BBEdit Text Filter script to take textual input and produce Base64 decoded text of the same.
#!/bin/bash
#
# Base64 Decode
# https://gist.github.com/levigroker/aacf13e1d3f88403df214542c05483b4
#
# A BBEdit Text Filter script to take textual input and produce Base64 decoded text of the
# same.
# See https://www.bbeditextras.org/text-filters/
# Levi Brown
# @levigroker
# levigroker@gmail.com
# 2022-01-07
##
IN=$(tee)
OUT=$(echo -n "$IN" | base64 --decode)
echo -n "${OUT}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment