stta/stta/tmp/h/do.sh

10 lines
261 B
Bash
Raw Normal View History

2021-10-01 20:35:43 +01:00
for file in `ls conf*es*html*`
do
name=`echo $file| sed 's/config_//g' | sed 's/.es.html//g'`
cat h | sed "s/MAIN/$name/g" > $file
/usr/local/webmin-1.050/stta/devtools/mkhtmldatconfs $name >>$file
cat f | sed "s/config_$name//g" >>$file
done