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