-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
It would be really useful to be able to split output by host into separate
files. While this is undoubtedly possible with some bashfu, integration into
pdsh would be better. I'm imagining something like this:
$ pdsh -w "192.168.2.4[6-9]" -o foo/HOSTNAME.out hostname
$ ls foo/
192.168.2.46.out 192.168.2.47.out 192.168.2.48.out 192.168.2.4.9.out
$ cat foo/192.168.2.46.out
bar.example.com
$
In this instance, HOSTNAME (or some other token) would be used as a replacement
token.
Original issue reported on code.google.com by morga...@gmail.com on 2 Apr 2013 at 8:16
Reactions are currently unavailable