From owner-freebsd-net Wed Jun 27 11:38:14 2001 Delivered-To: freebsd-net@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id D2EB237B416 for ; Wed, 27 Jun 2001 11:38:06 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f5RIc3l22423; Wed, 27 Jun 2001 11:38:03 -0700 Date: Wed, 27 Jun 2001 11:38:03 -0700 From: Brooks Davis To: Jun-ichiro itojun Hagino Cc: net@FreeBSD.ORG Subject: Re: review request: network interface cloning Message-ID: <20010627113803.C12739@Odin.AC.HMC.Edu> References: <20010627112648.B12739@Odin.AC.HMC.Edu> <20010627182511.DCB857C2@starfruit.itojun.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="IpbVkmxF4tDyP/Kb" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010627182511.DCB857C2@starfruit.itojun.org>; from itojun@iijlab.net on Thu, Jun 28, 2001 at 03:25:11AM +0900 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --IpbVkmxF4tDyP/Kb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 28, 2001 at 03:25:11AM +0900, Jun-ichiro itojun Hagino wrote: > >newgif=3D3D`ifconfig gif# create` > >ifconfig $newgif 10.0.0.1 10.0.0.2 >=20 > you may need to have backslash before #... :-) Not in /bin/sh anyway (I just tested it). I think the `` part protects the #. There might be some corner cases, but I'm not sure. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --IpbVkmxF4tDyP/Kb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7OigLXY6L6fI4GtQRAnDlAKCRlabbCqLFOlr2I4KOCcze+sjmzQCfVkJJ S6DGbHLtfItYnjLgwKIA1U8= =i/MM -----END PGP SIGNATURE----- --IpbVkmxF4tDyP/Kb-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message