Re: egrep error after update

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



Hi pete,

> > > but now every time i open an terminal i get the following
> > >
> > >     egrep: warning: egrep is obsolescent; using grep -E
>
> Interesting thing if i callup an xterm and su to root  the call
> another xterm from there i do not get the warning on as a user

Finding the minimum needed to re-create the problem would be useful.

Run you shell as a login shell from an existing one to see if it
triggers the problem.  Assuming it's bash(1):

    $ echo $$
    5696
    $ echo $SHELL
    /bin/bash
    $ bash -l
 →  $ echo $$
 →  26416
 →  $ exit
 →  logout
    $ echo $$
    5696
    $

The ‘→’ lines are the new shell.  Does doing similar give you the daft
egrep warning?

If so, do starting a new shell without it being a login shell, i.e. drop
the ‘-l’?

-- 
Cheers, Ralph.




[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