1
0
mirror of https://github.com/minimaxir/big-list-of-naughty-strings.git synced 2025-09-03 10:53:01 +02:00

Avoid unnecessary semicolons

This commit is contained in:
Victor Engmark
2018-11-17 07:05:33 +13:00
parent d5a7cb5473
commit 70e19cae9f

View File

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