From owner-freebsd-questions@FreeBSD.ORG Thu Jul 31 19:23:36 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 7B0C637B401 for ; Thu, 31 Jul 2003 19:23:36 -0700 (PDT) Received: from ms-smtp-02.southeast.rr.com (ms-smtp-02.southeast.rr.com [24.93.67.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC99E43F75 for ; Thu, 31 Jul 2003 19:23:35 -0700 (PDT) (envelope-from mmercer@nc.rr.com) Received: from [192.168.1.2] (rdu88-246-041.nc.rr.com [24.88.246.41]) h712KJqP001506; Thu, 31 Jul 2003 22:20:20 -0400 (EDT) From: "Michael E. Mercer" To: Rob Lahaye In-Reply-To: <1059703954.1455.4.camel@dual.mmercer.com> References: <3F29C589.4030009@users.sourceforge.net> <1059703954.1455.4.camel@dual.mmercer.com> Content-Type: text/plain Message-Id: <1059704614.1455.7.camel@dual.mmercer.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 31 Jul 2003 22:23:34 -0400 Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: tcsh script: quote and spaces problems 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, 01 Aug 2003 02:23:36 -0000 ok ok... I noticed one thing while playing with this... the script hello.sh #!/bin/tcsh -f set JUNK='-f "t "' echo ">>${JUNK}<<" echo ">>"${JUNK}"<<" The first echo prints it -f "t " and the second -f "t " Can you use it with the double quotes around it? later MeM On Thu, 2003-07-31 at 22:12, Michael E. Mercer wrote: > On Thu, 2003-07-31 at 21:42, Rob Lahaye wrote: > > When I use > > set flag='-f "t "' > > > > When I echo this out, I get what you are wanting... > can you show us how you are using this, to get the "weird" behavior? > > Thanks > MeM > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"