view bin/make_new_tabs.sh @ 6:a6d23e7fab01 default tip

final, all sigs on multiple pages
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Thu, 08 Oct 2026 12:51:14 +0100
parents f9d4af74e3d0
children
line wrap: on
line source

#!/bin/bash
# Usage: make_new_tabs.sh ~/u/bookmarks-from-saved-closed-tab-groups_... > ~/New_Tabs.xml
sed 's/&nbsp;/ /g;s/&/&amp;/g' < "$1" |tr -s '\302\240' ' ' |tidy -asxml 2>/dev/null \
 |saxon97 - D:/lib/xml/bookmarks_to_xml.xsl|normXML -w |lxsort body div .