Hostname expansion (numerics) (includes '-x' patch)
Status: Beta
Brought to you by:
mtp22
Things like this now work, including zero padding:
dsh -w c001-10,sys-ps1,c020-21 -x c003-4,c009,c020-21
<command>
Would execute 'command' on:
c001, c002, c005, c006, c007, c008, c010, sys-ps1
Ranges can be used within group files as well.
The '-x' option (Exclude nodes) is from my other patch,
and is included here with the host expansion added to
it as well.
Let me know if you find any bugs!
-- Eric Andresen
Host expansion patch (includes -x)