16 ms·
> I'm curious, do you really need a text editor for log files? Well, it doesn't always boil down to "grep for one specific thing." Usually you find one thing,
by xienze 12y ago
> I'm curious, do you really need a text editor for log files?
Well, it doesn't always boil down to "grep for one specific thing." Usually you find one thing, then you have to locate the next couple instances of it (I use vim, so I'm used to just doing nnnnnnnn... to keep finding the next occurrence). Or perhaps you grep for one specific thing, find out something is related, need to search for some other thing, etc. Maybe you need a little bit of context around the thing you grepped for. Text editors work pretty well for combing through log files...