From owner-freebsd-questions@FreeBSD.ORG Fri Nov 21 09:05:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CFA916A4CE for ; Fri, 21 Nov 2003 09:05:00 -0800 (PST) Received: from shaft.techsupport.co.uk (shaft.techsupport.co.uk [212.250.77.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id E331843FF5 for ; Fri, 21 Nov 2003 09:04:57 -0800 (PST) (envelope-from setantae@submonkey.net) Received: from cpc2-cdif3-6-0-cust204.cdif.cable.ntl.com ([81.103.67.204] helo=shrike.submonkey.net ident=mailnull) by shaft.techsupport.co.uk with esmtp (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.24; FreeBSD 4.9) id 1ANEiG-0006tc-3X; Fri, 21 Nov 2003 17:04:56 +0000 Received: from setantae by shrike.submonkey.net with local (Exim 4.24; FreeBSD 4.9) id 1ANEiD-0000qB-Ux; Fri, 21 Nov 2003 17:04:53 +0000 Date: Fri, 21 Nov 2003 17:04:53 +0000 From: Ceri Davies To: Marty Landman Message-ID: <20031121170453.GU66785@submonkey.net> References: <6.0.0.22.0.20031121114154.08a0a190@pop.face2interface.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aJ74fq0Y6SrIeKCM" Content-Disposition: inline In-Reply-To: <6.0.0.22.0.20031121114154.08a0a190@pop.face2interface.com> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.4i Sender: Ceri Davies cc: freebsd-questions@FreeBSD.org Subject: Re: a good way to save a keystroke? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 17:05:00 -0000 --aJ74fq0Y6SrIeKCM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 21, 2003 at 11:44:22AM -0500, Marty Landman wrote: > I wanted to look at a file and figured why not pipe the output of which t= o=20 > more, which of course didn't work so I figured if I backticked the which= =20 > output with more in front that would work, and apparently it does (though= =20 > I'm not sure that the cmd itself wasn't executed?). >=20 > e.g. more `which apachectl` >=20 > Is this a reasonable way to get what I'm after, or a bad thing? That's fine. The command that gets executed is which, not apachectl, so there's no need to worry on that account. Ceri --=20 --aJ74fq0Y6SrIeKCM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/vkW1ocfcwTS3JF8RAkobAJ9akrKPwl6uY6oHHGKFDSOUqWjTFwCglvrq 5cMPqwvg9J2K4yI3SDZBD1U= =qCcf -----END PGP SIGNATURE----- --aJ74fq0Y6SrIeKCM--