Thanks Andy,
Tried your solution ..

Use of uninitialized value $ext in split at 
/org/seg/tools/eda/freeware/ack/1.96/ack line 1533.
Error in option spec: "rtljinja:match:[.]v[.]jj$!"


On Tuesday, March 15, 2022 at 1:45:06 PM UTC-7 [email protected] wrote:

>
> Notice my extensions have two dot separated fields as -
> v.jj and sv.jj
>
> This does not seem to work.
> Is this not supported in ack?
>
>
> Not as extensions.  Ack only sees the last .whatever as the extension. 
>  You’ll have to use a different way of specifying it, by using the “match” 
> type and specifying a regex to match against the filename.
>
> --type-set=rtljinja:match:[.]v[.]jj$
> --type-set=rtljinja:match:[.]sv[.]jj$
>
> Or you can combine those two regexes together: 
>
> --type-set=rtljinja:match:[.]s?v[.]jj$
>
> To see more examples, run “ack —dump” which shows you all the specs for 
> the defaults that ack ships with.
>
> Andy
>

-- 
You received this message because you are subscribed to the Google Groups "ack 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ack-users/01036552-7d07-46bc-895c-07899c0e9dadn%40googlegroups.com.

Reply via email to