pfetch: revert sed removal
This commit is contained in:
parent
729f553d87
commit
40d78a9b26
2
pfetch
2
pfetch
|
@ -1307,7 +1307,7 @@ get_ascii() {
|
||||||
# some versions of Android shipped with a totally broken 'sed'
|
# some versions of Android shipped with a totally broken 'sed'
|
||||||
# command from 'toybox' and so we're forced to avoid 'sed'.
|
# command from 'toybox' and so we're forced to avoid 'sed'.
|
||||||
done <<-EOF
|
done <<-EOF
|
||||||
$(printf %s "$ascii" | awk '{gsub("\\[3.m","");print}')
|
$(printf %s "$ascii" | sed 's/\[3.m//g')
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Add a gap between the ascii art and the information.
|
# Add a gap between the ascii art and the information.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user