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

Shows all sync packages if stdin is empty with - #29

Closed
AladW opened this issue May 2, 2016 · 1 comment
Closed

Shows all sync packages if stdin is empty with - #29

AladW opened this issue May 2, 2016 · 1 comment

Comments

@AladW
Copy link

AladW commented May 2, 2016

printf '' | expac -S '%n' - | wc -l
8814

Compare to pacman --print:

% printf '' | pacman -Sddp -
error: argument '-' specified with empty stdin

A workaround is expac -S '%n' - '' or xargs -r expac -S '%n' -, assuming the user expects this behavior.

@falconindy
Copy link
Owner

Fix queued, will hopefully be able to push tonight.

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

No branches or pull requests

2 participants