From owner-freebsd-hackers Tue Oct 2 7:22:16 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bogslab.ucdavis.edu (bogslab.ucdavis.edu [169.237.68.34]) by hub.freebsd.org (Postfix) with ESMTP id 4C58437B407 for ; Tue, 2 Oct 2001 07:22:14 -0700 (PDT) Received: from thistle.bogs.org (thistle.bogs.org [198.137.203.61]) by bogslab.ucdavis.edu (8.9.3/8.9.3) with ESMTP id HAA92465 for ; Tue, 2 Oct 2001 07:22:07 -0700 (PDT) (envelope-from greg@bogslab.ucdavis.edu) Received: from thistle.bogs.org (localhost [127.0.0.1]) by thistle.bogs.org (8.11.3/8.11.3) with ESMTP id f92EJbS06989 for ; Tue, 2 Oct 2001 07:19:38 -0700 (PDT) (envelope-from greg@thistle.bogs.org) Message-Id: <200110021419.f92EJbS06989@thistle.bogs.org> To: hackers@FreeBSD.ORG X-To: "Daniel C. Sobral" X-Sender: owner-freebsd-hackers@FreeBSD.ORG Subject: ALT- (Was: how to make 'for' understand two words as a single argumen) In-reply-to: Your message of "Tue, 02 Oct 2001 09:18:43 -0300." <3BB9B0A3.2C5F3ACC@newsguy.com> Reply-To: gkshenaut@ucdavis.edu Date: Tue, 02 Oct 2001 07:19:37 -0700 From: Greg Shenaut Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <3BB9B0A3.2C5F3ACC@newsguy.com>, "Daniel C. Sobral" cleopede: >Stijn Hoop wrote: >> >> > Any way using `` won't work. for i in a "b c" d works, for instance, but >> > there is not way that I know of that you can control the output this way >> > using ``. >> >> Yes there is: set IFS to only contain a newline beforehand. That's my local >> hack, your way is probably better :) > >But if you do that, you'll get a single argument back, instead of a >number of arguments, some of which have space in the middle, or not? Is there any reason why the "unbreakable space" (0xa0) shouldn't be the only kind of space character used/allowed in filenames? Greg Shenaut To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message