MistahDarcy has quit [Ping timeout: 252 seconds]
infobot has quit [Read error: Connection reset by peer]
infobot has joined #qi-hardware
_whitelogger has joined #qi-hardware
<
mth>
what is the point of doing a binary search on lines when you need to scan the entire file for newlines?
<
mth>
or does it do a binary search on file offsets and then scan forward for newline?
<
mth>
that would actually make sense
<
mth>
(or scan backwards)
<
mth>
unless the efficiency matters, you can just use grep though
<
kyak>
Rob Pyke talks about Unix history
<
mth>
sometimes when you learn a new command/feature, you think "I wish I knew that earlier"... but I certainly didn't have that for "look"
<
wpwrak>
i think the secret is in the "file" argument. that's not a substitute for grep, it's a substitute for dict
<
wpwrak>
(didn't know about it either - just used grep on the accursedly long path to "words" in the old days :)
dandon has joined #qi-hardware
dandon has quit [Client Quit]
dandon_ has quit [Ping timeout: 240 seconds]
dandon has joined #qi-hardware
dandon has quit [Client Quit]
dandon has joined #qi-hardware