Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jingo
on Sept 7, 2014
|
parent
|
context
|
favorite
| on:
Modernizing “less”
"... I got fed up with the extremely long time it takes less to precalculate line counts on large files..."
When you were experiencing long wait times, did you turn off line numbering?
less -n logfile
nhaehnle
on Sept 8, 2014
|
next
[–]
Sure, but that's not an option if you actually
want
the line numbers. Given that it was possible to speed up the line number calculation by more than an order of magnitude, I do believe that fixing the code was the right way to go :)
sounds
on Sept 8, 2014
|
prev
[–]
You can also turn off line numbering _during_ the long "calculating line numbers" phase. Hit Ctrl-C and it says "line numbering off" or somesuch.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
When you were experiencing long wait times, did you turn off line numbering?