diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2019-09-24 14:59:14 +0300 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2019-09-24 14:59:14 +0300 |
| commit | e5a9e736a3d66edc6ccb2166415b5baca9525e93 (patch) | |
| tree | 95ba5d9abd6c1e2371578c0af75e2239d0210b5d | |
| parent | d85bc90f1a20ab407ec3185c01f38859ea1b131d (diff) | |
| download | pfetch-e5a9e736a3d66edc6ccb2166415b5baca9525e93.tar.gz | |
docs: update
| -rwxr-xr-x | pfetch | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -262,9 +262,9 @@ ${c5}\/${c4}-____${c5}\/ while read -r line || [ -n "$line" ]; do ascii_height=$((ascii_height + 1)) ascii_width=$((${#line} > ascii_width ? ${#line} : ascii_width)) - done <<EOF - $(printf %s "$ascii" | sed 's/\[3.m//g') -EOF + done <<-EOF + $(printf %s "$ascii" | sed 's/\[3.m//g') + EOF # Add a gap between the ascii art and the information. ascii_width=$((ascii_width + 4)) @@ -297,9 +297,9 @@ main() { # Store the output of 'uname' to avoid calling it multiple times # throughout the script. 'read <<EOF' is the simplest way of reading # a command into a list of variables. - read -r os kernel <<EOF - $(uname -sr) -EOF + read -r os kernel <<-EOF + $(uname -sr) + EOF # Allow the user to specify the order and inclusion of information # functions through the 'PF_INFO' environment variable. |
