mirror of
https://github.com/dylanaraps/pfetch.git
synced 2026-01-02 16:02:12 +01:00
pfetch: revert sed removal
This commit is contained in:
2
pfetch
2
pfetch
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user