in ack's home page, there lists a lot of file type, but without aspx, is it possible to let ack support it?
相关问题
- grep: repetition-operator operand invalid
- ack: Exclude specific directories from search via
- Using ack, how do you display one page at a time?
- Multiple patterns with ack-grep?
- ack - Binding an actual file name to a filetype
相关文章
- grep: repetition-operator operand invalid
- ack: Exclude specific directories from search via
- 提交仅使用Subversion修改过的文件(Commit modified files only u
- Using ack, how do you display one page at a time?
- Multiple patterns with ack-grep?
- ack - Binding an actual file name to a filetype
- Unfamiliar shell syntax in ack-grep install script
- Ack & negative lookahead giving errors
On window,add .ackrc file under C:\Documents and Settings\yourname,with content
you can set a type to multi file extension,seperate by ","
Noteack
syntax and behaviour has changed significantly with version 2. The equivalent of the above in version 2 would be:Where the syntax is
--type-set TYPE:FILTER:FILTERARGS
andFILTER
can be any ofext, is, match, firstlinematch
. You should definitely read the man page for detailed explanation.see
from http://betterthangrep.com/
You can add this to .ackrc in your homedirectory.