mirror of
https://github.com/minimaxir/big-list-of-naughty-strings.git
synced 2025-09-25 05:12:14 +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
|
set -o errexit -o nounset -o pipefail
|
||||||
|
|
||||||
commentChar="#"
|
commentChar="#"
|
||||||
while read line
|
while read -r line
|
||||||
do
|
do
|
||||||
firstChar="${line:0:1}"
|
firstChar="${line:0:1}"
|
||||||
if [[ "$firstChar" != "$commentChar" ]] && [[ -n "$firstChar" ]]
|
if [[ "$firstChar" != "$commentChar" ]] && [[ -n "$firstChar" ]]
|
||||||
|
Reference in New Issue
Block a user