-
Notifications
You must be signed in to change notification settings - Fork 275
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
How to grep the progress bar? #307
Comments
Nevermind, I found a way to work around this by temporarily sending I leave this open in case it is of interest to anyone as an actual feature request. |
The Detection of stdout redirection and/or a way to force simpler, more reliable output would help. |
Came looking for information about this while staring at |
@shoopdawoop @philsherry If so, will it suffice to output a separate persistent
Why do you want to grep for any of this? I've run How does "sending installd to sleep until the download is finished" help? |
@rgoldberg It was 2 years ago but it was Xcode, which was notoriously large and cumbersome before they made it a bit more modular. Seeing output such as you suggested would always be a good start, yes. |
@philsherry Thanks for the info. Are there any other problems that must be solved that aren't solved by the 2 extra persistent lines that I suggested? If I know additional problems, then I can devise & implement solutions to them. I assume that grepping the progress indicators isn't actually necessary, it was just one proposed solution for which I've hopefully provided a better alternative. Thanks for any more info you can provide. |
I can’t speak to the grepping issue, as that was OP so I’ll leave that for them. The only other gripe I can think of right now is newer versions sometimes disappearing from the Dock upon install… but sometimes, not. But I imagine that’s outside the remit of this particular Issue. More than happy to help with further questions, testing, and so on. It’s a great tool and it’s good to know someone is back on it. |
@philsherry Thanks for the info. I would assume that you meant disappearing from the Dock upon upgrade, not upon install, because how would it already be in the Dock if it weren't already installed? Or are you accidentally trying to install an app that was already installed? Assuming you meant upgrade, have apps disappeared from the Dock when you've upgraded via the App Store GUI (instead of via If it seems like an mas problem to you, please open a new issue about it, and we can investigate it. It'll probably be a bit before we get to it, though, unless you or someone else pinpoint the problem, because of the large backlog of serious bugs & because it would require research into a whole new area (but it would be good to document as much as possible). Thanks again. |
Update linting for access control on extensions. Resolve mas-cli#307 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
Update linting for access control on extensions. Resolve mas-cli#307 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
A bit off topic perhaps, but I'll give it a shot:
I would like to run
mas install
in a shell script and report back when a download is finished and when it's successfully installed, but I cannot figure out how to do the former.I thought I'd try a simple
grep
on the output, but only amas install | grep "Installed"
works (on the final output after the whole process is finished), while amas install | grep "Installing"
does not work.It seems that the the output of the progress bar
################################################------------ 80.0% Installing
never gets piped to grep and only the final results
==> Downloading
and==> Installed
actually get passed.Throwing a
| tee $somewhereelse
in there does not work, either.How can this be done?
The text was updated successfully, but these errors were encountered: