From: Oleg Broytman Date: Mon, 3 Jan 2011 17:25:18 +0000 (+0000) Subject: Removed old unused scripts and docs. X-Git-Tag: v4.5.3~67 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=5b117d30a94f2419853bab627734f7db6a76f3da;p=bookmarks_db.git Removed old unused scripts and docs. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@309 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- diff --git a/Makefile b/Makefile index bf45d48..373e6b1 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,8 @@ VERSION=4.3.1 -EXAMPLE_SHELL=bkmk-add bkmk-add.py bkmk-chk bkmk-koi bkmk-publish bkmk-rsync \ - bkmk-sort bkmk-win bkmk2db check_title.py check_url.py hotexplode.pl \ - koi2win.db mk-distr mz-unescape mz2ns ns-unescape \ - set-real_title.py set-title-list.py +EXAMPLE_SHELL=bkmk-add bkmk-add.py bkmk-chk bkmk-publish bkmk-rsync \ + bkmk-sort bkmk2db check_title.py check_url.py hotexplode.pl \ + mk-distr set-real_title.py set-title-list.py .PHONY: all all: diff --git a/bkmk-koi b/bkmk-koi deleted file mode 100755 index bc073e8..0000000 --- a/bkmk-koi +++ /dev/null @@ -1,40 +0,0 @@ -#! /bin/sh - -PATH=$HOME/lib/bookmarks_db:$PATH - - -bkmk2db || exit 1 - -BKMK_FORMAT=NETSCAPE -export BKMK_FORMAT - -db2bkmk.py || exit 1 -db2bkmk.py -p "Private links" -o public-koi.tmp || exit 1 - -exit 0 - -db2bkmk.py -t $HOME/lib/bookmarks_db/koi2win.db -o private-win.tmp || exit 1 -db2bkmk.py -t $HOME/lib/bookmarks_db/koi2win.db -p "Private links" -o public-win.tmp || exit 1 - - -replace() { - sed "s^$2^$3^" $1 > _tmp.$$ - mv _tmp.$$ $1 -} - -replace private-win.tmp http://koi.aha.ru/ http://win.aha.ru/ -replace public-win.tmp http://koi.aha.ru/ http://win.aha.ru/ -replace private-win.tmp http://koi.postman.ru/ http://win.postman.ru/ -replace public-win.tmp http://koi.postman.ru/ http://win.postman.ru/ - -towin < private-win.tmp > bookmark.ht0 -towin < public-win.tmp > bookmark.ht1 - -exit 0 - -diff $HOME/.netscape/bookmarks.html bookmarks.html > diff.out - -if [ "$1" = "-c" ]; then - echo -n "Copying to home: " - cp -p bookmarks.html $HOME/.netscape/bookmarks.html && echo "Ok" -fi diff --git a/bkmk-publish.old b/bkmk-publish.old deleted file mode 100755 index 6e4fae9..0000000 --- a/bkmk-publish.old +++ /dev/null @@ -1,27 +0,0 @@ -#! /bin/sh - -umask 077 -PATH=$HOME/lib/bookmarks_db:$PATH - -STARTDIR="`pwd`" -bkmk-koi -c && \ -mv public-koi.tmp bkmk-koi.html && chmod a+r bkmk-koi.html || exit 1 - -echo "Splitting bookmarks..." -cd $HOME/Internet/WWW/htdocs/phdru.name/Bookmarks && \ -rm -rf split || exit 1 - -$HOME/lib/bookmarks_db/hotexplode.pl -o split $STARTDIR/bookmarks.html && \ -cp -p ../../../misc/nopasswd-index.html split/privatelinks/index.html || exit 1 - -cp -p $STARTDIR/bkmk-koi.html bookmarks.html && chmod -R a+rX . || exit 1 - -#/usr/local/htdig/bkmk.sh - -cd $STARTDIR && \ -exec rm -f header bookmarks.err bookmarks_db.pickle bookmarks_db.flad \ - private-win.tmp public-win.tmp bookmarks.html bookmark.ht0 bookmark.ht1 bkmk-koi.html - -#zip -9 bkmk bkmk-koi.html bkmk-win.html && \ -#rm -f bkmk-win.html && \ -#cp -p bookmark.ht1 bkmk-win.html || exit 1 diff --git a/bkmk-rsync.ns b/bkmk-rsync.ns deleted file mode 100755 index 2de2b30..0000000 --- a/bkmk-rsync.ns +++ /dev/null @@ -1,8 +0,0 @@ -#! /bin/sh - -PATH=$HOME/lib/bookmarks_db:$PATH - -mz2ns -mv bookmarks.html "$HOME/.netscape/bookmarks.html" - -exec distribute -r .netscape "$HOME/.netscape/bookmarks.html" diff --git a/bkmk-win b/bkmk-win deleted file mode 100755 index 5e5739a..0000000 --- a/bkmk-win +++ /dev/null @@ -1,39 +0,0 @@ -#! /bin/sh - -PATH=$HOME/lib/bookmarks_db:$PATH - -if [ ! -f ./bookmark.htm ]; then - echo Cannot find bookmark.htm, aborted - exit 1 -fi - - -fromwin < bookmark.htm > bookmarks.html || exit 1 - -bkmk2db || exit 1 - -BKMK_FORMAT=NETSCAPE -export BKMK_FORMAT - -db2bkmk.py -o private-win.tmp || exit 1 -db2bkmk.py -p "Private links" -o public-win.tmp || exit 1 - -db2bkmk.py -t $HOME/lib/bookmarks_db/koi2win.db -r || exit 1 -db2bkmk.py -t $HOME/lib/bookmarks_db/koi2win.db -r -p "Private links" -o public-koi.tmp || exit 1 - -towin < bookmarks.html > bookmark.ht0 -towin < public-win.tmp > bookmark.ht1 - - -#replace() { -# sed "s^$2^$3^" $1 > _tmp.$$ -# mv _tmp.$$ $1 -#} -# -#replace bookmarks.html http://win.postman.ru/ http://koi.postman.ru/ -#replace public-koi.tmp http://win.postman.ru/ http://koi.postman.ru/ - -#if [ "$1" = "-c" ]; then -# echo -n "Copying to home: " -# cp -p bookmarks.html $HOME/.netscape/bookmarks.html && echo "Ok" -#fi diff --git a/doc/ChangeLog b/doc/ChangeLog deleted file mode 100644 index e69de29..0000000 diff --git a/doc/NEWS b/doc/NEWS deleted file mode 100644 index e69de29..0000000 diff --git a/mz-unescape b/mz-unescape deleted file mode 100755 index 841c80a..0000000 --- a/mz-unescape +++ /dev/null @@ -1,6 +0,0 @@ -#! /bin/sh - -. "$HOME/lib/config/mozilla_home" -sed -e 's/<//g' -e 's/&/\&/g' \ - "$mozilla_home/bookmarks.html" >_tmp.$$ && \ -exec mv _tmp.$$ "$mozilla_home/bookmarks.html" diff --git a/mz2ns b/mz2ns deleted file mode 100755 index 31a39d4..0000000 --- a/mz2ns +++ /dev/null @@ -1,13 +0,0 @@ -#! /bin/sh - -PATH=$HOME/lib/bookmarks_db:$PATH -umask 077 - -bkmk2db || exit 1 -BKMK_FORMAT=NETSCAPE db2bkmk.py || exit 2 - -sed -e 's/<//g' -e 's/"/"/g' -e 's/&/\&/g' \ - bookmarks.html >_tmp.$$ && \ -mv _tmp.$$ bookmarks.html - -exec diff $HOME/.netscape/bookmarks.html bookmarks.html > diff.out diff --git a/ns-unescape b/ns-unescape deleted file mode 100755 index 7fc559a..0000000 --- a/ns-unescape +++ /dev/null @@ -1,5 +0,0 @@ -#! /bin/sh - -sed -e 's/<//g' -e 's/&/\&/g' \ - "$HOME/.netscape/bookmarks.html" >_tmp.$$ && \ -exec mv _tmp.$$ "$HOME/.netscape/bookmarks.html"