From owner-freebsd-questions@FreeBSD.ORG Fri Nov 21 18:11:19 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 7337116A4CE for ; Fri, 21 Nov 2003 18:11:19 -0800 (PST) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32DA843F3F for ; Fri, 21 Nov 2003 18:11:16 -0800 (PST) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 21 Nov 2003 20:14:04 -0600 Message-ID: <3FBEC5C1.7040705@daleco.biz> Date: Fri, 21 Nov 2003 20:11:13 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030920 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marty Landman References: <6.0.0.22.0.20031121114154.08a0a190@pop.face2interface.com> <3FBEBEA8.7000805@mindcore.net> <6.0.0.22.0.20031121205837.05221fe8@pop.face2interface.com> In-Reply-To: <6.0.0.22.0.20031121205837.05221fe8@pop.face2interface.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Nov 2003 02:14:05.0203 (UTC) FILETIME=[4DBC8E30:01C3B09E] cc: freebsd-questions@freebsd.org cc: Scott W 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: Sat, 22 Nov 2003 02:11:19 -0000 Marty Landman wrote: > At 08:40 PM 11/21/2003, Scott W wrote: > >> So yep, it's doing what you want, the way you wanted to...use >> something similar fairly often myself, although note that the >> 'current' standard for executing commands is now $(cmd), eg >> >> more $(which apachectl) > > > I get > > FreeB more $(which apachectl) > Illegal variable name. > FreeB > > Maybe I should've mentioned I'm on 4.8, or is there another reason? > Which shell are you using? KDK