mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 08:30:05 -07:00
Merge pull request #160 from E5ten/posix-printf
kiss: remove non-POSIX printf * field width specifier
This commit is contained in:
commit
495ae445fc
2
kiss
2
kiss
@ -1519,7 +1519,7 @@ args() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
for path do
|
for path do
|
||||||
printf '%b->%b %-*s ' "$lcol" "$lclr" "$max" "${path#*/kiss-}"
|
printf "%b->%b %-${max}s " "$lcol" "$lclr" "${path#*/kiss-}"
|
||||||
sed -n 's/^# *//;2p' "$(command -v "kiss-$path")"
|
sed -n 's/^# *//;2p' "$(command -v "kiss-$path")"
|
||||||
done | sort -uk1 >&2
|
done | sort -uk1 >&2
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user