pfetch: revert sed removal

This commit is contained in:
Dylan Araps
2019-10-18 21:07:08 +03:00
parent 729f553d87
commit 40d78a9b26

2
pfetch
View File

@@ -1307,7 +1307,7 @@ get_ascii() {
# some versions of Android shipped with a totally broken 'sed'
# command from 'toybox' and so we're forced to avoid 'sed'.
done <<-EOF
$(printf %s "$ascii" | awk '{gsub("\\[3.m","");print}')
$(printf %s "$ascii" | sed 's/\[3.m//g')
EOF
# Add a gap between the ascii art and the information.