Package: ack-grep
Version: 1.80-1
Severity: normal

I can use --type-add from the command line:

% ack-grep --type-add docbook=.db  --docbook glossary 
ack-grep: --type-add: Type "docbook" does not exist, creating with ".db" ...
Formations/bhubaneshwar/mail/mail.db
25:    <glossary id="glossary">
54:    </glossary>

AFNIC/NIC-generique/HOWTO/HOWTO.db
776:  <glossary id="glossary">
883:  </glossary>

...

But, if I put the same option in my ~/.ackrc file, it fails:

~ % cat .ackrc
--type-add docbook=.db


~ % ack-grep --docbook glossary
Unknown option: type-add docbook
Unknown option: docbook
ack-grep: See ack --help or ack --man for options.


Other options, in .ackrc, are recognized without problems.


-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages ack-grep depends on:
ii  libfile-next-perl             1.02-1     File-finding iterator
ii  perl                          5.10.0-19  Larry Wall's Practical Extraction 

ack-grep recommends no packages.

ack-grep suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to