pfetch: Remove non-posix dot

This commit is contained in:
Dylan Araps 2020-03-09 13:59:58 +02:00
parent c1cecae824
commit f82f5e9d2d
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

4
pfetch
View File

@ -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