mirror of
https://github.com/minimaxir/big-list-of-naughty-strings.git
synced 2025-09-24 21:01:32 +02:00
16 lines
267 B
Bash
Executable File
16 lines
267 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o errexit -o nounset -o pipefail
|
|
|
|
commentChar="#"
|
|
while read -r line
|
|
do
|
|
firstChar="${line:0:1}"
|
|
if [[ "$firstChar" != "$commentChar" ]] && [[ -n "$firstChar" ]]
|
|
then
|
|
echo -n $line | base64
|
|
else
|
|
echo $line
|
|
fi
|
|
done <blns.txt
|