[163596] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: Prism continued

daemon@ATHENA.MIT.EDU (Scott Weeks)
Wed Jun 12 21:12:46 2013

Date: Wed, 12 Jun 2013 18:12:17 -0700
From: "Scott Weeks" <surfer@mauigateway.com>
To: <nanog@nanog.org>
Reply-To: surfer@mauigateway.com
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org




On Jun 12, 2013, at 9:01 PM, "Scott Weeks" <surfer@mauigateway.com> wrote:
> --- dougb@dougbarton.us wrote:
> From: Doug Barton <dougb@dougbarton.us>
> 
> On 06/12/2013 05:13 PM, Scott Weeks wrote:
>> "cat /var/log/router.log | egrep -v 'term1|term2|term3' | less"
> 
> Prototypical "useless use of cat" :)
> -----------------------------------------------------
> 
> 
> What would you use and what's wrong with concatenation 
> of a file with nothing?  1+0=1  ;)
---------------------------------------


Wow, a person gets corrected quickly here! ;-) And the answer is...

"egrep -v 'term1|term2|term3'  /var/log/router.log | less"

All I can say is DOH!  :-)

scott


home help back first fref pref prev next nref lref last post