Skip to content

output to named file[s] #57

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions