Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2002 20:12:46 -0600
From:      "Mike Meyer" <mwm-dated-1016503967.c60398@mired.org>
To:        Jonathan Chen <jonc@chen.org.nz>
Cc:        Joe & Fhe Barbish <barbish@a1poweruser.com>, FBSDQ <questions@FreeBSD.ORG>
Subject:   Re: Script to hangup ppp?
Message-ID:  <15504.1822.570384.940313@guru.mired.org>
In-Reply-To: <20020314144909.B83799@grimoire.chen.org.nz>
References:  <20020314003211.11956.qmail@web9306.mail.yahoo.com> <LPBBIGIAAKKEOEJOLEGOEELFCKAA.barbish@a1poweruser.com> <20020314144909.B83799@grimoire.chen.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
In <20020314144909.B83799@grimoire.chen.org.nz>, Jonathan Chen <jonc@chen.org.nz> 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.

	<mike
--
Mike Meyer <mwm@mired.org>			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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15504.1822.570384.940313>