[F] Disable SC2162: read without -r will mangle backslashes
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user