Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the ack CPAN distribution.

Maintainer(s)' notes

ack's issues are tracked at https://github.com/petdance/ack2

Report information
The Basics
Id: 23896
Status: resolved
Priority: 0/
Queue: ack

People
Owner: Nobody in particular
Requestors: UVOELKER [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: PATCH: tex filetype
Attached patch adds tex filetype (.tex). It is against svn version (revision 123).
Subject: tex.patch
Index: t/filetypes.t =================================================================== --- t/filetypes.t (Revision 123) +++ t/filetypes.t (Arbeitskopie) @@ -3,7 +3,7 @@ use warnings; use strict; -use Test::More tests => 18; +use Test::More tests => 19; use Data::Dumper; BEGIN { @@ -49,3 +49,5 @@ is(App::Ack::filetypes('t/etc/shebang.empty.xxx'), 'binary', 'empty file returns "binary"'); + +ok(App::Ack::is_filetype('latex.tex', 'tex'), 'tex file'); Index: Ack.pm =================================================================== --- Ack.pm (Revision 123) +++ Ack.pm (Arbeitskopie) @@ -50,6 +50,7 @@ scheme => [qw( scm )], shell => [qw( sh bash csh ksh zsh )], sql => [qw( sql ctl )], + tex => [qw( tex )], tt => [qw( tt tt2 )], vim => [qw( vim )], yaml => [qw( yaml yml )],
Added in the next version after 1.38. Thanks.