|
@ -2,17 +2,19 @@ |
|
|
|
|
|
|
|
|
cd "$HOME/notes" || exit 1 |
|
|
cd "$HOME/notes" || exit 1 |
|
|
|
|
|
|
|
|
# TODO: |
|
|
|
|
|
|
|
|
|
|
|
# - Arguably the following should select _things that are linked to_ as well. |
|
|
|
|
|
# That is, I want to be able to automate links to stuff that I haven't |
|
|
|
|
|
# actually defined a page for yet. |
|
|
|
|
|
|
|
|
|
|
|
# - Also, arguably, the grep should be done in notes-pages instead. It was |
|
|
|
|
|
|
|
|
# TODO: |
|
|
|
|
|
# |
|
|
|
|
|
# - Arguably, the grep should be done in the notes subcommand instead. It was |
|
|
# just kind of a pain when I was looking at this. |
|
|
# just kind of a pain when I was looking at this. |
|
|
|
|
|
# |
|
|
|
|
|
# - With links included, this is noticeably kind of slow. |
|
|
|
|
|
# |
|
|
|
|
|
# - This reveals some weirdness in what's getting dumped into the link database. |
|
|
|
|
|
# Probably worth digging into that eventually. |
|
|
|
|
|
|
|
|
sort \ |
|
|
sort \ |
|
|
<(notes-pages --format name| grep -v '^(log|diary)/') \ |
|
|
|
|
|
|
|
|
<(notes-pages --format name | grep -Ev '^(log|diary)/') \ |
|
|
|
|
|
<(notes-links --format target | grep -Ev '^(|log|diary|https?|ssh|workspace|file)[/:]') \ |
|
|
pinboard-tag-index \ |
|
|
pinboard-tag-index \ |
|
|
p1k3-index \ |
|
|
p1k3-index \ |
|
|
| uniq |
|
|
| uniq |