projects
/
snom-frontend
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0a33b26
)
specifically filter out comments
author
michael
<michael>
Sun, 21 May 2006 23:07:19 +0000
(23:07 +0000)
committer
michael
<michael>
Sun, 21 May 2006 23:07:19 +0000
(23:07 +0000)
snom.pl
patch
|
blob
|
blame
|
history
diff --git
a/snom.pl
b/snom.pl
index
b34ab64
..
8062aaf
100755
(executable)
--- a/
snom.pl
+++ b/
snom.pl
@@
-1,5
+1,5
@@
#!/bin/sh
-#$Id: snom.pl,v 1.2
1 2006-05-21 23:06:48
michael Exp $
+#$Id: snom.pl,v 1.2
2 2006-05-21 23:07:19
michael Exp $
PATH=/opt/csw/bin:/opt/local/bin:/usr/bin:/bin exec perl -w -x "$0" "$@"
@@
-22,6
+22,9
@@
my %Config = ();
my @sections = ();
while(<INIFILE>) {
chomp;
+
+ next if (m/^#/);
+
if (m/^\s*\[(.*)\]\s*$/) {
push @sections, $1;
next;
Impressum
,
Datenschutz