From owner-freebsd-questions Wed Mar 13 18:12:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id CEF6737B402 for ; Wed, 13 Mar 2002 18:12:49 -0800 (PST) Received: (qmail 13625 invoked by uid 100); 14 Mar 2002 02:12:47 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15504.1822.570384.940313@guru.mired.org> Date: Wed, 13 Mar 2002 20:12:46 -0600 To: Jonathan Chen Cc: Joe & Fhe Barbish , FBSDQ Subject: Re: Script to hangup ppp? In-Reply-To: <20020314144909.B83799@grimoire.chen.org.nz> References: <20020314003211.11956.qmail@web9306.mail.yahoo.com> <20020314144909.B83799@grimoire.chen.org.nz> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.48 (Python 2.2 on freebsd4) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In <20020314144909.B83799@grimoire.chen.org.nz>, Jonathan Chen types: > On Wed, Mar 13, 2002 at 08:10:50PM -0500, Joe & Fhe Barbish wrote: > > No that does not work. > > It does not like the 'cat /var/run/tun0.pid' part. Gives a message argument > > should be jobs or process id. > Use backticks. ie ` . Not quotes, ie '. Might I suggest $( ... ) in preference to backticks? Works in all sh variants, and is nestable as well. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message