9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] nb—search and index notes in files by keyword
@ 2010-03-06  4:52 Jason Catena
  2010-03-06  9:32 ` Peter A. Cejchan
  0 siblings, 1 reply; 22+ messages in thread
From: Jason Catena @ 2010-03-06  4:52 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

http://swtools.wordpress.com/2010/03/05/nb%E2%80%94search-and-index-notes-in-files-by-keyword/

This isn't complicated, but it hit a sweet spot with me, since I like
to break up information into smallish chunks and index it by keyword.
It collects the keywords into one file per directory, and keeps a list
of all the indexes in a file in $HOME.  It searches all the existing
indexes for the given keyword, then reconstructs the index for the
current directory, so it presents slightly older results fast.  Its
relationship with plan9 is that it's written in rc, and outputs lines
in a /path/file:line format for right-clicking with acme.  I'm posting
it here because I find it really useful, and I wish I'd come up with
it years ago.  The more you put into it the more useful it becomes,
since it's got a fine degree of granularity (the particular keywords
attached to a bit of information) and composability of keywords (just
string a few grep and grep -v after the nb command).

Jason Catena



^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2010-03-08 22:12 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-06  4:52 [9fans] nb—search and index notes in files by keyword Jason Catena
2010-03-06  9:32 ` Peter A. Cejchan
2010-03-07  4:30   ` [9fans] (no subject) lucio
2010-03-07  5:05     ` Anthony Sorace
2010-03-07 17:31       ` ron minnich
2010-03-07 17:43         ` erik quanstrom
2010-03-07 18:14           ` lucio
2010-03-07 19:25             ` cinap_lenrek
2010-03-07 17:42       ` lucio
2010-03-07 17:53         ` erik quanstrom
2010-03-07 18:06           ` lucio
2010-03-07 18:59         ` Iruata Souza
2010-03-07 19:26           ` lucio
2010-03-07 19:36             ` ron minnich
2010-03-07  9:14     ` Skip Tavakkolian
2010-03-07 11:04       ` lucio
2010-03-07 19:06       ` [9fans] Contrib indexes Lyndon Nerenberg
2010-03-07 19:29         ` lucio
2010-03-07 19:31           ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2010-03-07 19:51         ` Anthony Sorace
2010-03-08 21:36           ` Federico G. Benavento
2010-03-08 22:12             ` ron minnich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).