☰
Debian Codegraph
@
1:3.2.0b6-22
/
/
test
/
set_attr
☽
☼
test/set_attr
code
plain
raw
1
#!/bin/sh
2
3
conf=conf/htdig.conf.tmp
4
if grep $1 $conf > /dev/null ; then
5
mv $conf tmp_conf
6
sed "s@$1.*@$1: $2@" < tmp_conf > $conf
7
else
8
echo "$1: $2" >> $conf
9
fi