Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-n option's behavior is different between Ubuntu and Alpine #146

Open
greymd opened this issue May 3, 2020 · 1 comment
Open

-n option's behavior is different between Ubuntu and Alpine #146

greymd opened this issue May 3, 2020 · 1 comment
Labels

Comments

@greymd
Copy link
Owner

greymd commented May 3, 2020

Command

xpanes -c 'echo {}' -n 2 2 '' 4 '' 6 8 10

Result (Ubuntu)

Screenshot 2020-05-03 at 21 09 09

Result(Alpine)

Screenshot 2020-05-03 at 21 08 50

Reason

Caused by difference of xargs since xpns_set_args_per_pane function depends on the xargs.

Screenshot 2020-05-03 at 20 56 57

Screenshot 2020-05-03 at 20 56 35

@greymd greymd added the bug label May 3, 2020
@greymd greymd changed the title -n option behavior is different from Ubuntu and Alpine -n option's behavior is different from Ubuntu and Alpine May 3, 2020
@greymd greymd changed the title -n option's behavior is different from Ubuntu and Alpine -n option's behavior is different between Ubuntu and Alpine May 3, 2020
@greymd
Copy link
Owner Author

greymd commented May 9, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant