[F] Disable SC2162: read without -r will mangle backslashes
This commit is contained in:
parent
239bb8e458
commit
f54c45fbd0
1 changed files with 2 additions and 0 deletions
2
neofetch
2
neofetch
|
@ -4712,6 +4712,8 @@ print_ascii() {
|
||||||
then
|
then
|
||||||
lines=$ascii_lines
|
lines=$ascii_lines
|
||||||
else
|
else
|
||||||
|
# shellcheck disable=SC2162
|
||||||
|
# Reading without -r here is intentional. See https://github.com/dylanaraps/neofetch/pull/1543
|
||||||
while IFS=$'\n' read line; do
|
while IFS=$'\n' read line; do
|
||||||
line=${line//█/ }
|
line=${line//█/ }
|
||||||
# Fast method to strip codes
|
# Fast method to strip codes
|
||||||
|
|
Loading…
Reference in a new issue