#!/bin/sh
-#$Id: snom.pl,v 1.21 2006-05-21 23:06:48 michael Exp $
+#$Id: snom.pl,v 1.22 2006-05-21 23:07:19 michael Exp $
PATH=/opt/csw/bin:/opt/local/bin:/usr/bin:/bin exec perl -w -x "$0" "$@"
my @sections = ();
while(<INIFILE>) {
chomp;
+
+ next if (m/^#/);
+
if (m/^\s*\[(.*)\]\s*$/) {
push @sections, $1;
next;