tags:

views:

25

answers:

2

in ack's home page, there lists a lot of file type, but without aspx, is it possible to let ack support it?

A: 
--type-add TYPE=.EXTENSION[,.EXT2[,...]]
                    Files with the given EXTENSION(s) are recognized as
                    being of (the existing) type TYPE

from http://betterthangrep.com/

You can add this to .ackrc in your homedirectory.

Habbie
A: 

On window,add .ackrc file under C:\Documents and Settings\yourname,with content

--type-set=aspx=.aspx

http://search.cpan.org/dist/ack/ack-base#THE%5F.ackrc%5FFILE

static