1
0
mirror of https://github.com/minimaxir/big-list-of-naughty-strings.git synced 2025-09-25 05:12:14 +02:00

Merge pull request #94 from romuald/fix-base64-script

Remove trailing \n from texttobase64.sh
This commit is contained in:
Max Woolf
2016-02-11 07:04:01 -08:00

View File

@@ -2,7 +2,7 @@ commentChar="#"
while read p; do
firstChar=${p:0:1}
if [[ "$firstChar" != "$commentChar" && "$firstChar" != "" ]] ; then
echo $p | base64;
echo -n $p | base64;
else
echo $p;
fi