xwmx / nb

CLI and local web plain text note‑taking, bookmarking, and archiving with linking, tagging, filtering, search, Git versioning & syncing, Pandoc conversion, + more, in a single portable script.
https://xwmx.github.io/nb
GNU Affero General Public License v3.0
6.43k stars 180 forks source link

openbsd fixes #313

Open js0000 opened 3 months ago

js0000 commented 3 months ago

nb is great -- thank you so much.

when i use it on my openbsd box (v7.3) there are two problems i keep running into

  1. when i try to see the subtasks of an item i always get this in return: ! 0 tasks (exclamation point in red)
  2. the "-color=never" switch on grep always fails (not supported in obsd)

i'm happy to provide more data if you want. btw, i use bash (on openbsd) to run the nb script (since that's what it was written in (i think)).

not sure why the tasks display fails (but could find out)

maybe the grep switch could be a variable (that is left blank in openbsd) -- there are probably many ways to fix it.

thank you (again) for nb