commit 211a3b0dddf60ad61b4d3b031e38f719ad3dd1f8 parent b2ce9e67e37ce1ca7dce124482d100b142ebb558 Author: Szymon Mikulicz <szymon.mikulicz@posteo.net> Date: Tue, 22 Sep 2026 22:28:28 +0200 Adopt to bsd xargs Diffstat:
| M | scripts/.local/bin/src-git | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/.local/bin/src-git b/scripts/.local/bin/src-git @@ -1,7 +1,7 @@ #!/bin/sh disp() { - xargs -d '\n' -i printf "\x1b[2K%-25s %.60s\r" "$1" '{}' + tr '\n' '\0' | xargs -0 -I '{}' printf "\x1b[2K%-25s %.60s\r" "$1" '{}' } for dir in ~/.usr/src/*; do