I think Stepan has a good point, but I've been a bit hesitant because of
the backwards-incompatible nature of the change. Also, I'm not sure if
I have a good intuition for how people are using the -P option. Mark,
KevSmith, wjlroe, and jbyers have all mentioned that they've used the -P
option. Do any of you have insights? Thanks.
--
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868
By the way, there are a couple of other improvements that could be made
to the -P option:
1) Right now, the output of pssh -P is printed as soon as input arrives.
It might make sense to do line buffering to keep output from different
hosts from mixing within a line. This change would be mostly
backwards-compatible with the output-capturing scripts you describe.
2) It might also make sense to put the name/port of the host at the
beginning of each line output by -P. In my opinion, this would make -P
more useful, but it would be very much backwards incompatible.