From bcac042adacdcc7b8bc99e25220d05ba38397c03 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 21 Oct 2012 17:27:05 +0000 Subject: [PATCH] Removed excessive trailing backslashes git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@369 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- bkmk-add | 4 ++-- bkmk-chk | 22 +++++++++++----------- bkmk-publish | 10 +++++----- bkmk-sort | 8 ++++---- mk-distr | 12 ++++++------ set-title-list | 4 ++-- 6 files changed, 30 insertions(+), 30 deletions(-) diff --git a/bkmk-add b/bkmk-add index dbd24f9..5e737e9 100755 --- a/bkmk-add +++ b/bkmk-add @@ -11,6 +11,6 @@ PATH=$HOME/lib/bookmarks_db:$PATH bkmk2db || exit 1 -bkmk-add.py "$@" && \ -db2bkmk.py && \ +bkmk-add.py "$@" && +db2bkmk.py && exec touch bookmarks_db.pickle # to make it more recent diff --git a/bkmk-chk b/bkmk-chk index b3b173d..aca60b1 100755 --- a/bkmk-chk +++ b/bkmk-chk @@ -12,20 +12,20 @@ PATH="$HOME/lib/bookmarks_db:$PATH" -ln -s "$HOME"/Desktop/bookmarks-*.json bookmarks_db.json && \ -BKMK_STORAGE=json convert_st.py pickle && \ -rm bookmarks_db.json && \ +ln -s "$HOME"/Desktop/bookmarks-*.json bookmarks_db.json && +BKMK_STORAGE=json convert_st.py pickle && +rm bookmarks_db.json && -check_urls.py && \ -echo '' && \ -check_urls.py -e && \ +check_urls.py && +echo '' && +check_urls.py -e && # Report results -BKMK_WRITER=flad db2bkmk.py && \ -check_dups.py -s -l bookmarks.err >/dev/null && \ -check_title.py > check_title.txt && \ -bkmk-sort && \ +BKMK_WRITER=flad db2bkmk.py && +check_dups.py -s -l bookmarks.err >/dev/null && +check_title.py > check_title.txt && +bkmk-sort && # Write results to the bookmarks files -convert_st.py json && \ +convert_st.py json && exec db2bkmk.py diff --git a/bkmk-publish b/bkmk-publish index defaf03..614773a 100755 --- a/bkmk-publish +++ b/bkmk-publish @@ -14,12 +14,12 @@ STARTDIR="`pwd`" BKMK_FORMAT=NETSCAPE db2bkmk.py -p "Private links" -o bookmarks.html || exit 1 echo "Splitting bookmarks..." -cd $HOME/Internet/WWW/htdocs/phdru.name/public_html/Bookmarks && \ +cd $HOME/Internet/WWW/htdocs/phdru.name/public_html/Bookmarks && rm -rf split || exit 1 -mv $STARTDIR/bookmarks.html . && \ -hotexplode.pl -o split bookmarks.html && \ -chmod -R a+rX . && \ +mv $STARTDIR/bookmarks.html . && +hotexplode.pl -o split bookmarks.html && +chmod -R a+rX . && -cd "$STARTDIR" && \ +cd "$STARTDIR" && exec rm -f bookmarks_db.pickle diff --git a/bkmk-sort b/bkmk-sort index 45383b2..debb35c 100755 --- a/bkmk-sort +++ b/bkmk-sort @@ -11,8 +11,8 @@ PATH=$HOME/lib/bookmarks_db:$PATH bkmk2db || exit 1 -BKMK_WRITER=flad sort_db.py -a && \ -BKMK_WRITER=flad sort_db.py -v && \ -BKMK_WRITER=flad sort_db.py -m && \ -BKMK_WRITER=flad sort_db.py -z && \ +BKMK_WRITER=flad sort_db.py -a && +BKMK_WRITER=flad sort_db.py -v && +BKMK_WRITER=flad sort_db.py -m && +BKMK_WRITER=flad sort_db.py -z && BKMK_WRITER=flad sort_db.py -t || exit 1 diff --git a/mk-distr b/mk-distr index c917e1f..a19cdf9 100755 --- a/mk-distr +++ b/mk-distr @@ -19,14 +19,14 @@ fi umask 022 -prog_dir="`pwd`" && \ +prog_dir="`pwd`" && -cd "$HOME/tmp" && \ -svn export "$1" bookmarks_db && \ +cd "$HOME/tmp" && +svn export "$1" bookmarks_db && cp -p "$prog_dir"/BeautifulSoup.py "$prog_dir"/subproc.py \ - "$prog_dir"/hotexplode.pl bookmarks_db && \ -cp -p "$prog_dir"/doc/COPYING bookmarks_db/doc && \ + "$prog_dir"/hotexplode.pl bookmarks_db && +cp -p "$prog_dir"/doc/COPYING bookmarks_db/doc && -cd bookmarks_db && make fulldistr && \ +cd bookmarks_db && make fulldistr && cd .. && exec rm -rf bookmarks_db diff --git a/set-title-list b/set-title-list index 4640e42..0ce876a 100755 --- a/set-title-list +++ b/set-title-list @@ -11,6 +11,6 @@ PATH="$HOME/lib/bookmarks_db:$PATH" set-title-list.py "$@" || exit 1 -BKMK_WRITER=flad db2bkmk.py && \ -convert_st.py json && \ +BKMK_WRITER=flad db2bkmk.py && +convert_st.py json && exec db2bkmk.py -- 2.39.5