aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2020-03-09 13:59:58 +0200
committerDylan Araps <dylan.araps@gmail.com>2020-03-09 13:59:58 +0200
commitf82f5e9d2d6b6ca22587dcf643ef55da73fd74d7 (patch)
tree022342dfe00c59af2669325450fd3998c95f11ff
parentc1cecae824dbb7c045d218a047d47d50b767fa50 (diff)
downloadpfetch-f82f5e9d2d6b6ca22587dcf643ef55da73fd74d7.tar.gz
pfetch: Remove non-posix dot
-rwxr-xr-xpfetch4
1 files changed, 2 insertions, 2 deletions
diff --git a/pfetch b/pfetch
index 9baf21f..8d44c36 100755
--- a/pfetch
+++ b/pfetch
@@ -22,7 +22,7 @@ log() {
info=$*
}
- align=$(printf '%*.s' "$((${#name}-info_length))" "")
+ align=$(printf '%*s' "$((${#name}-info_length))" "")
# Construct the information string.
out="[3${PF_COL1-4};1m${name}"
@@ -1401,7 +1401,7 @@ main() {
while IFS= read -r line || [ "$1" ]; do
"get_$1"
shift "$(($# ? 1 : 0))"
- printf '%*.s%s\r%s\n' "$ascii_width" "" "$out" "$line" >&6
+ printf '%*s%s\r%s\n' "$ascii_width" "" "$out" "$line" >&6
out=
done <<-EOF
$ascii