mirror of
https://github.com/minimaxir/big-list-of-naughty-strings.git
synced 2025-09-02 18:32:40 +02:00
Avoid globbing and word splitting when expanding variables
This commit is contained in:
@@ -8,8 +8,8 @@ do
|
||||
firstChar="${line:0:1}"
|
||||
if [[ "$firstChar" != "$commentChar" ]] && [[ -n "$firstChar" ]]
|
||||
then
|
||||
echo -n $line | base64
|
||||
echo -n "$line" | base64
|
||||
else
|
||||
echo $line
|
||||
echo "$line"
|
||||
fi
|
||||
done <blns.txt
|
||||
|
Reference in New Issue
Block a user