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

[Polite question] What are the advantages of "watch" command? #22

Open
pm-pm opened this issue Apr 26, 2019 · 2 comments
Open

[Polite question] What are the advantages of "watch" command? #22

pm-pm opened this issue Apr 26, 2019 · 2 comments
Labels
question Further information is requested

Comments

@pm-pm
Copy link

pm-pm commented Apr 26, 2019

Hello.

I watched the development of the watch command and didn't understand what it was about. Now I tried it and still don't understand what the command is for.

In a normal 3 line bash loop I can make a comparison, evaluate the result and output it formatted as a message. Great.

With the Watch command I can only see the difference. What is this? What are the advantages?

This is a very polite question because I really don't understand it. :-)

@eternal-flame-AD
Copy link
Member

eternal-flame-AD commented Apr 26, 2019

Also not a criticism, and I also dont feel that understand it in full so feel free to argue if you think I have misunderstanding in how it works.

With a 3 line bash loop you can also evaluate a command, make a comparison and output it formatted as a message. Why bother using the watch command?

My answer would be that it would be used so frequently that it would be good to have a dedicated program to do this job and get the job done easier and quicker.

@jmattheis jmattheis added the question Further information is requested label Apr 26, 2019
@pm-pm
Copy link
Author

pm-pm commented Apr 26, 2019

To stick to the truth: You are talking about the Linux watch command?
I had never heard about the Linux watch command before. Interesting command, but I've never missed anything like it. I always do my comparisons manually, which gives me more control.

If many people use it again and again, then it makes sense to implement it. Now I have understood the intention.

Maybe you can show a good example in the documentation so that it is easier to understand the intention. 👍

Thanks for the explanations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Development

No branches or pull requests

3 participants