zli5t / ShellQDB

A quote database implemented entirely in shell.
2 stars 0 forks source link

Ranking Index #3

Closed ethanjli closed 14 years ago

ethanjli commented 14 years ago

So...yeah. A way to show the top n quotes would be nice. I think we decided to have setqscore also update another file of the following format: 42::2 and such (score::id).

zli5t commented 14 years ago

nonono. We decided to use sort, remember? We can just sort by field, take the top n quotes (head), and outq them. I'll see if sort has a “only the top n” option.

ethanjli commented 14 years ago

(Oh, oops. I forgot.)