#!/bin/sh -e
< ~/.mozilla/firefox/browsing/bookmarks.html \
fgrep -v '[hide]' |
sed -E '\|^    <DT><H3 ADD_DATE="[0-9]+" LAST_MODIFIED="[0-9]+" UNFILED_BOOKMARKS_FOLDER="true">Other Bookmarks</H3>|I,\|^    </DL><p>|Id' \
 > "$1"
