Re: Frage zu grep
On Mon, Sep 11, 2006 at 10:32:36AM +0200, Alexander Schmehl wrote:
> * Jörg Sommer <joerg@alea.gnuu.de> [060911 01:27]:
>
> > > Wenn's schon grep sein soll, warum dann nicht etwas eleganter?
> > > ps w | grep [p]icsscale
> > Und gegen was soll das helfen? Zahnschmerzen? Schlaflosigkeit bei Vollmond?
>
> Vergleiche "ps w|grep 'ps'" und "ps w|grep '[p]s'".
ulf@xerxes:~$ ps w|grep 'ps'
11049 pts/8 R+ 0:00 ps w
ulf@xerxes:~$ ps w|grep '[p]s'
11051 pts/8 R+ 0:00 ps w
Irgendwas mache ich wohl flasch.
cu
ulf
--
Ulf Volmer
u.volmer@u-v.de
www.u-v.de
Reply to: