chiark
/
gitweb
/
~ian
/
hippotat.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix cfg_process_saddrs ServerAddr
[hippotat.git]
/
subst-sys-path
1
#!/usr/bin/perl -pi
2
next unless m{^#\@ };
3
my $ok = 1;
4
s{@(\w+)@}{ $ENV{$1} // ($ok=0, $&) }ge;
5
s{^#\@ }{} if $ok;