BKMK_WRITER=flad db2bkmk.py &&
check_dups.py -s -l check_dups.txt >/dev/null &&
check_redirects.py -s -l check_redirects.txt &&
+cleanup_redirects &&
check_title.py -s -l check_title.txt &&
bkmk-sort &&
--- /dev/null
+#! /bin/sh
+# Cleanup redirects
+#
+# This file is a part of Bookmarks database and Internet robot.
+#
+# __author__ = "Oleg Broytman <phd@phdru.name>"
+# __copyright__ = "Copyright (C) 2024 PhiloSoft Design"
+# __license__ = "GNU GPL"
+
+exec sed \
+ -e 's/^(\(perm\|temp\)[0-9]\.) to //' \
+ -e 's/^(html) to \+\(.\+\) ([0-9]\+ sec)/\1/' \
+check_redirects.txt >set_redirects.txt