2 ms·
Makes it harder to nest that command inside a script - you have to parse out the number and paste it back? Or do I misunderstand - should it still prompt the us
by JoeAltmaier 6y ago
Makes it harder to nest that command inside a script - you have to parse out the number and paste it back? Or do I misunderstand - should it still prompt the user in the middle of the process when that step arrives? That would be problematical if it were included in a web page or whatever.
- ccakes 6y agoThe very point of this is to make it difficult to do what you’re describing. If the tool could potentially touch a large number of machine, even if you’re super sure you got it right you should still prompt the user
- JoeAltmaier 6y agoOr write a script that carefully calculates the number of machines and gets it right. I guess you wouldn't use this prompting script then?
- larrik 6y agoI believe this would be as part of the script you are writing, not the scripts you are calling.
- rad_gruchalski 6y agoHopefully there’s an API to fetch that count :)