Re: egrep error after update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 16/09/22 02:43, pete via arch-general wrote:
On Sat, 2022-09-10 at 22:48 +0100, pete via arch-general wrote:
I did my normal nightly update last night no issues  but now every time i
open an terminal i get the following

egrep: warning: egrep is obsolescent; using grep -E
Hi  Once again

I have been thru this system trying to locate just where the call to egrep is
coming from  i can not find it at all
...
Cheers pete

Add these lines in /usr/bin/egrep just before the exec line in that script.

printenv >> /tmp/egrep.printenv.$$
env >> /tmp/egrep.env.$$
set >> /tmp/egrep.set.$$
ps aux >> /tmp/egrep.ps.$$
echo "My PID=$$, Parent PID=$PPID" >> /tmp/egrep.pid.$$

And then once you get the egrep warning, check the above /tmp/egrep.* files for hints.

This can be a good starting point to detect whats happening and from where.

Amish




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux