💾 Archived View for source.community › jeffdecola › my-go-tools › raw › develop › cryptography-tools… captured on 2023-07-10 at 13:47:25.

View Raw

More Information

⬅️ Previous capture (2021-12-17)

-=-=-=-=-=-=-

#!/bin/sh -e
# my-go-tools decryptfile run.sh

echo " "

if [ "$1" = "-debug" ]
then
    echo "************************************************************************"
    echo "* run.sh -debug (START) ************************************************"
    echo "************************************************************************"
    # set -x enables a mode of the shell where all executed commands are printed to the terminal.
    set -x
    echo " "
else
    echo "************************************************************************"
    echo "* run.sh (START) *******************************************************"
    echo "************************************************************************"
    echo " "
fi

echo "go run decryptfile.go -i encrypted.txt -o output.txt"
echo " "
go run decryptfile.go -i encrypted.txt -o output.txt
echo " "

echo "************************************************************************"
echo "* run.sh (END) **************************************************"
echo "************************************************************************"
echo " "