Avoid globbing and word splitting when expanding variables
parent
ea0be30283
commit
b2722e6b19
|
@ -8,8 +8,8 @@ do
|
||||||
firstChar="${line:0:1}"
|
firstChar="${line:0:1}"
|
||||||
if [[ "$firstChar" != "$commentChar" ]] && [[ -n "$firstChar" ]]
|
if [[ "$firstChar" != "$commentChar" ]] && [[ -n "$firstChar" ]]
|
||||||
then
|
then
|
||||||
echo -n $line | base64
|
echo -n "$line" | base64
|
||||||
else
|
else
|
||||||
echo $line
|
echo "$line"
|
||||||
fi
|
fi
|
||||||
done <blns.txt
|
done <blns.txt
|
||||||
|
|
Loading…
Reference in New Issue