123456#! /bin/sh BASEDIR=$(dirname $0)sed -i "6r $BASEDIR/links.html" docs/index.htmlsed -i "668r $BASEDIR/script.js" docs/main.js