-# !/bin/bash
+#!/bin/bash
#
# lustre_route_config
# This script configures lnet with the routes in the passed in file.
}
while read line; do
+ # skip lines that are entirely whitespace or
+ # when the first non-whitespace character is #
+ if [[ "$line" =~ ^[[:space:]]*(#|$) ]]; then
+ continue
+ fi
+
# Parse line using ':' and ',' as delimiters and ignoring all
# white space, tabs and linefeed
IFS="$IFS:,"