Package: agrep
Version: 4.17-9.1
Severity: normal

Dear Maintainer,

I use `agrep` to search my .mailrc for aliases.  It failed to find a
pattern I expected it to find.  I confirmed that egrep finds the pattern
as expected.  Details can be found in the following transcript (fish shell):

```
nr@homedog ~/etc> agrep chloe-ramsey-lavoie ~/.mailrc
alias chloe-ramsey-lavoie [email protected]
nr@homedog ~/etc> agrep 'alias#'chloe-ramsey-lavoie ~/.mailrc
nr@homedog ~/etc [1]> malias andrew-gall
alias andrew-gallant [email protected]
nr@homedog ~/etc> agrep 'alias#'andrew-gal ~/.mailrc
alias andrew-gallant [email protected]
nr@homedog ~/etc> agrep chloe-ramsey-lavoie ~/.mailrc | od -a
0000000   a   l   i   a   s  sp   c   h   l   o   e   -   r   a   m   s
0000020   e   y   -   l   a   v   o   i   e  sp   R   E   D   A   C   T
0000040   E   D   R   E   D   @   g   m   a   i   l   .   c   o   m  nl
0000060
nr@homedog ~/etc> man agrep
nr@homedog ~/etc> agrep 'alias#'chloe-ramsey-lavoie ~/.mailrc
nr@homedog ~/etc [1]> agrep 'alias.*'chloe-ramsey-lavoie ~/.mailrc
nr@homedog ~/etc [1]> egrep 'alias.*'chloe-ramsey-lavoie ~/.mailrc
alias chloe-ramsey-lavoie [email protected]
```

Please note I have redacted the actual email address.


-- System Information:
Debian Release: 13.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable'), (100, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.63+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.utf8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages agrep depends on:
ii  libc6  2.41-12+deb13u2

agrep recommends no packages.

agrep suggests no packages.

-- no debconf information

Reply via email to