3 ms·
I agree but I wanted to avoid this: ... writing 34 IP addresses as CLI parameter, that is around 373 letters, is not a nice solution.
by sasa_buklijas 9y ago
I agree but I wanted to avoid this:
... writing 34 IP addresses as CLI parameter, that is around 373 letters, is not a nice solution.
- jcoffland 9y agoA bash script where you call the CLI program once for each IP would be a very simple solution. ./script 127.0.0.1 5 ./script 127.0.0.2 5 . . . ./script 127.0.1.254 10
- sasa_buklijas 9y agoI was on windows. But OK, there is batch script also. I had to call program will all IP addresses, one by one would just not work. Your idea is fine, but it was just acceptable in my use case.
- electrum 9y agoYou can write multiple arguments in a nice way: ./script \ 192.168.1.1 \ 192.168.1.2 \ 192.168.1.3 \ ...
- sasa_buklijas 9y agovalid argument :-), accepted