This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
module Recall | |
class Search | |
def initialize(path) | |
# load data | |
@data = File.readlines(path) | |
end | |
def search(q) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pabs@halcyon:~/git/fys> perl perl.pl | |
host,time | |
blargh.org,"60d 3h" | |
blum.net,"40d 3h" | |
baz.biz,"32d 3h" |
NewerOlder