mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
9 lines
210 B
Perl
9 lines
210 B
Perl
|
#!/usr/bin/perl
|
||
|
|
||
|
while(<STDIN>) {
|
||
|
if(/^$/) { }
|
||
|
elsif(/^([ \t]*)#(.*)/) { print "#$2\n"; }
|
||
|
elsif(/^([ \t]*)(.*) = (.*)$/) { print "\t$2 = $3\n"; }
|
||
|
elsif(/^([ \t]*)\[(.*)\]([ \t]*)$/) { print "\n[$2]\n"; }
|
||
|
}
|