Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Ignoring Minified Javascript Files with Ack 2
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rob Hoelz  
View profile  
 More options Jun 21 2012, 1:15 pm
From: Rob Hoelz <rdho...@gmail.com>
Date: Thu, 21 Jun 2012 10:15:56 -0700 (PDT)
Local: Thurs, Jun 21 2012 1:15 pm
Subject: Ignoring Minified Javascript Files with Ack 2

Hey guys,

Someone at work asked me how to tell ack 2 to ignore minified Javascript
files, and I replied "Well, it only works for .min.js...".  Then I realized
you can ignore them by the file's content
as well! (pretty much)  I wrote a blog post about it for anyone who's
interested:

http://hoelz.ro/blog/ignoring-minified-javascript-files-with-ack-2

-Rob


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy Lester  
View profile  
 More options Jun 21 2012, 1:20 pm
From: Andy Lester <a...@petdance.com>
Date: Thu, 21 Jun 2012 12:20:19 -0500
Local: Thurs, Jun 21 2012 1:20 pm
Subject: Re: [ack-users] Ignoring Minified Javascript Files with Ack 2

On Jun 21, 2012, at 12:15 PM, Rob Hoelz wrote:

> as well! (pretty much)  I wrote a blog post about it for anyone who's interested:

> http://hoelz.ro/blog/ignoring-minified-javascript-files-with-ack-2

I'm almost wondering if we should do --ignore-file=firstlinematch:/.{200}/ by default.

xoa

--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Hoelz  
View profile  
 More options Jun 21 2012, 8:26 pm
From: Rob Hoelz <r...@hoelz.ro>
Date: Thu, 21 Jun 2012 19:26:47 -0500
Local: Thurs, Jun 21 2012 8:26 pm
Subject: Re: [ack-users] Ignoring Minified Javascript Files with Ack 2

I was considering adding it, but I think it might slow things down a
bit.  I'm adding an issue for it now for 2.0 final, though.

On Thu, 21 Jun 2012 12:20:19 -0500

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan Perry  
View profile  
 More options Jun 22 2012, 5:24 pm
From: Ryan Perry <rpe...@restorehc.com>
Date: Fri, 22 Jun 2012 14:24:43 -0700 (PDT)
Local: Fri, Jun 22 2012 5:24 pm
Subject: Re: [ack-users] Ignoring Minified Javascript Files with Ack 2

Rob, I might suggest it look at the LAST line vs the first.  Often minified
JS does not end with a newline and it would probably help the
copyright/commenting issue.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »