[kwlug-disc]Building cross reference -- how?
D. Hugh Redelmeier
hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org
Mon Oct 14 16:04:20 UTC 2013
| From: William Park <opengeometry-FFYn/CNdgSA at public.gmane.org>
| I found a solution! man comm
| - for each "word", create a file (with the same name), and its content
| will be sorted list of filenames where "word" came from. So,
That's the "unary relation" that I talked about earlier in the thread.
| - to find cross reference of "one" and "red", do
| comm -1 -2 red one
That's the join.
I expect that using a relational database would have higher
performance. Only measuring would tell.
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list