1
0
mirror of https://github.com/minimaxir/big-list-of-naughty-strings.git synced 2025-09-25 13:19:15 +02:00
Files
big-list-of-naughty-strings/scripts/texttobase64.sh
2015-08-30 19:04:05 -07:00

10 lines
195 B
Bash
Executable File

commentChar="#"
while read p; do
firstChar=${p:0:1}
if [[ "$firstChar" != "$commentChar" && "$firstChar" != "" ]] ; then
echo $p | base64;
else
echo $p;
fi
done <blns.txt