Mailing List Archive

Support open source code!


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

Re: tlug: clearing Netscape's cache



>>In article <XFMail.971025232928.schweiz@example.com>, Jim Schweizer <schweiz@example.com> writes:

> if !( `ps -eu $USER | grep netscape | grep -v grep | sed -e 's/^  *//' -e 's/

As an aside, do

> if !( `ps -eu $USER | grep netscap[e] | sed -e 's/^  *//' -e 's/

to not pick up the grep itself in the ps listing.  Also, in this case,
you could probably combine the grep and sed, but I use sed so seldom,
I'd have to RTFM.

-- 
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
      Felix Finch, scarecrow repairer, rocket surgeon / felix@example.com
            PGP = 91 B3 94 7C E9 E8 76 2D   E1 63 51 AA A0 48 89 2F
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
Next TLUG meeting is Saturday Dec. 13, 1997  (possibly Nov. 13?)
---------------------------------------------------------------
a word from the sponsor:
TWICS - Japan's First Public-Access Internet System
www.twics.com  info@example.com  Tel:03-3351-5977  Fax:03-3353-6096



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links