[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PSID, New idea
Sorry to say but it is the right one i'v just used a demo
file for the example , and as for awk i would gladly would
like to learn how i can ilustrate it
On Tue, 16 Sep 1997, Ira Abramov wrote:
> On Tue, 16 Sep 1997, Yaniv Orenstein wrote:
>
> > Here is somthing i'v experimented with (this only applies to tcsh)
> >
> > /bin/tcsh -c "pppd (bla bla bla) & ; jobs -l > /tmp/.ppp.pid";
> >
> > then /tmp/.ppp.pid would look like this:
> >
> > [1] 28868 Done /usr/sbin/pppd
> >
> >
> > then what is left is just to cat it with awk and finito.
>
> first, awk can make it look better,
> second, pppd forks as soon as it runs (hence the "done" status). the PID
> you got is not the right one...
>
>
> --------------------------------------------------------------------
> Ira Abramov <ira@scso.com> (mail ira-pgp@scso.com for the PGP key)
>
>
>