regex - How to identify tab delimited columns in Multitail
2014-07
Meir
I'm trying to remove certain columns from my logs, where columns are delimited by tabs.
Here are some ways I've tried to remove the second column which didn't work.
multitail -kc " " 2 my.log
multitail -kc "\t" 2 my.log
multitail -kc "\s" 2 my.log
No text was removed at all by these commands.
Any suggestions?
Example of log
2014-05-13 11:08:09 (i) HTTP Basic Auth - Username: dom\boss
Answers
Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.
Related Question
regex - how to do an OR on two words in a regular expression
Here Be Wolves
I want to write a regex that matches either:
insert #TempTable
or
update #TempTable
How do I do it? I guess an imperfect way to go about it would be:
[insertupda]{6} #TempTable
While this does work in my situation, i want to know the right way to do this.
Thanks :)
Related Answers
livibetter
(insert|update) #TempTable