mirror of
https://github.com/minimaxir/big-list-of-naughty-strings.git
synced 2025-09-24 21:01:32 +02:00
Don't mangle backspaces in input
Shellcheck test SC2162.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
set -o errexit -o nounset -o pipefail
|
||||
|
||||
commentChar="#"
|
||||
while read line
|
||||
while read -r line
|
||||
do
|
||||
firstChar="${line:0:1}"
|
||||
if [[ "$firstChar" != "$commentChar" ]] && [[ -n "$firstChar" ]]
|
||||
|
Reference in New Issue
Block a user