mirror of
https://github.com/dylanaraps/pfetch.git
synced 2026-01-02 16:02:12 +01:00
pfetch: revert unrelated commit.
This commit is contained in:
6
pfetch
6
pfetch
@@ -1363,8 +1363,12 @@ get_ascii() {
|
|||||||
# output without the use of a pipe ('|').
|
# output without the use of a pipe ('|').
|
||||||
# This ensures that any variables defined in the while loop
|
# This ensures that any variables defined in the while loop
|
||||||
# are still accessible in the script.
|
# are still accessible in the script.
|
||||||
|
#
|
||||||
|
# The 'awk' command below used to be a simple 'sed', however
|
||||||
|
# some versions of Android shipped with a totally broken 'sed'
|
||||||
|
# command from 'toybox' and so we're forced to avoid 'sed'.
|
||||||
done <<-EOF
|
done <<-EOF
|
||||||
$(printf %s "$ascii" | sed 's/\[3.m//g')
|
$(printf %s "$ascii" | awk '{gsub("\\[3.m","");print}')
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Add a gap between the ascii art and the information.
|
# Add a gap between the ascii art and the information.
|
||||||
|
|||||||
Reference in New Issue
Block a user