tmux-xpanes
tmux-xpanes copied to clipboard
-n option's behavior is different between Ubuntu and Alpine
Command
xpanes -c 'echo {}' -n 2 2 '' 4 '' 6 8 10
Result (Ubuntu)
Result(Alpine)
Reason
Caused by difference of xargs
since xpns_set_args_per_pane function depends on the xargs
.
Fixed in v4.1.2
$ xpanes -c 'echo {}' -n 2 2 '' 4 '' 6 8 10
=> works perfectly
But still it does not work in case of pipe mode.
$ echo "2 2 '' 4 '' 6 8 10" | xpanes -n 2
=> does not work.
Keep this issue open since this is future work.