neofetch-ripper: escape backslashes correctly in logo text #1260

pull/1293/head
nick black 4 years ago
parent 250d50134e
commit 8acc6ea412
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -76,7 +76,7 @@ while IFS= read -r line ; do
PRESERVE=""
else
if [ -n "$PRESERVE" ] ; then
/bin/echo -E -n "$line\n" | sed -e 's/"/\\"/g'
/bin/echo -E -n "$line\n" | sed -e 's/\\/\\\\/g' -e 's/"/\\"/g'
fi
fi
fi

Loading…
Cancel
Save