mirror of
https://github.com/minimaxir/big-list-of-naughty-strings.git
synced 2025-09-09 13:41:11 +02:00
Use idiomatic test statements
This commit is contained in:
@@ -2,7 +2,7 @@ commentChar="#"
|
|||||||
while read p
|
while read p
|
||||||
do
|
do
|
||||||
firstChar=${p:0:1}
|
firstChar=${p:0:1}
|
||||||
if [[ "$firstChar" != "$commentChar" && "$firstChar" != "" ]]
|
if [[ "$firstChar" != "$commentChar" ]] && [[ -n "$firstChar" ]]
|
||||||
then
|
then
|
||||||
echo -n $p | base64
|
echo -n $p | base64
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user