Two more details/enhancements: 1) Sites which use node names like c[1-20]-[1-36], would benefit from "sort -V" instead of just sort -- otherwise c10-12 will be listed before c2-12, for instance. (For sites that use names like c[01-20]-[01-36] there is no difference.) Not very important, but makes it easier to read the diff output.
2) It would be nice to filter out comment lines in topology.conf, for instance by using grep -i Nodes= $TOPOLOGYCONF | grep -v '^\s*#' instead of just grep -i Nodes= $TOPOLOGYCONF -- Regards, Bjørn-Helge Mevik, dr. scient, Department for Research Computing, University of Oslo
signature.asc
Description: PGP signature