aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2019-10-18 21:07:08 +0300
committerDylan Araps <dylan.araps@gmail.com>2019-10-18 21:07:08 +0300
commit40d78a9b26540309430fef1238a599d24d499ace (patch)
tree4b0657bdf639263cb05b629014ba0de7542935ce
parent729f553d878bfbabd71c9e00762ef04870ceda6a (diff)
downloadpfetch-40d78a9b26540309430fef1238a599d24d499ace.tar.gz
pfetch: revert sed removal
-rwxr-xr-xpfetch2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfetch b/pfetch
index 481112c..b5d4261 100755
--- a/pfetch
+++ b/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.