ack search for suffix with only one letter

30 views
Skip to first unread message

Peng Yu

unread,
Apr 15, 2012, 4:43:35 PM4/15/12
to ack dev/users
Hi,

I'm not able to search for .R files (as shown below). Does anybody
know how to search for .R files? Thanks!

/tmp/tmp$ cat main.R
xxx

/tmp/tmp$ cat main.sh
xxx

/tmp/tmp$ ack --type-set R=.R --R DESeq
/tmp/tmp$ ack --type-set sh=.sh --sh xxx
main.sh
1:xxx
/tmp/tmp$ ack --type-set Rlang=.R --Rlang DESeq

Regards,
Peng
Reply all
Reply to author
Forward
0 new messages