Skip to content

Instantly share code, notes, and snippets.

@levigroker
Last active January 15, 2022 20:23
Show Gist options
  • 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
# [email protected]
# 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