Bug#700428: ack-grep: do not support type-set in .ackrc

Nicolas Évrard nicoe at no-log.org
Tue Feb 12 15:41:33 UTC 2013


Package: ack-grep
Version: 1.96-2
Severity: normal

Hello,

Here is a snippet of a terminal session:

    balisto:..ssue2996|codereview.tryton.org/|% ack --noenv --type-set rst=.rst --type=rst user > /dev/null && echo 'ok'                        
    ok

    balisto:..ssue2996|codereview.tryton.org/|% ack --type=rst user > /dev/null && echo 'ok'
    Unknown option: type-set rst                
    ack-grep: Unknown --type "rst"
    ack-grep: See ack-grep --help, ack-grep --help-types or ack-grep
    --man for options.

    balisto:..ssue2996|codereview.tryton.org/|% cat ~/.ackrc
    --type-set rst=.rst                         

As you can see the content of ~/.ackrc is making ack (I have an alias
ack-grep -> ack) failing to work.

With more usual option (I tested --sort-files) it works without any
problem.

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ack-grep depends on:
ii  libfile-next-perl  1.10-1
ii  perl               5.14.2-18

ack-grep recommends no packages.

Versions of packages ack-grep suggests:
ii  bash-completion  1:2.0-1

-- no debconf information



More information about the pkg-perl-maintainers mailing list