From owner-freebsd-standards Thu Mar 21 10:46:55 2002 Delivered-To: freebsd-standards@freebsd.org Received: from bremen.shuttle.de (bremen.shuttle.de [194.95.249.251]) by hub.freebsd.org (Postfix) with ESMTP id 71B8D37B400 for ; Thu, 21 Mar 2002 10:46:43 -0800 (PST) Received: from bremen.shuttle.de (localhost [127.0.0.1]) by bremen.shuttle.de (Postfix) with ESMTP id 0C5DC17D70; Thu, 21 Mar 2002 19:46:40 +0100 (CET) Received: (from uucp@localhost) by bremen.shuttle.de (8.12.1/8.12.1/Debian -5) with UUCP id g2LIkdIp015327; Thu, 21 Mar 2002 19:46:39 +0100 Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.12.2/8.11.6) id g2LIJRJa001683; Thu, 21 Mar 2002 19:19:27 +0100 (CET) (envelope-from schweikh) Date: Thu, 21 Mar 2002 19:19:27 +0100 From: Jens Schweikhardt To: "Tim J. Robbins" Cc: freebsd-standards@FreeBSD.ORG Subject: Re: standards/36076: Implementation of POSIX fuser command Message-ID: <20020321191927.A1215@schweikhardt.net> References: <200203190810.g2J8A3761846@freefall.freebsd.org> <20020319110634.H9136@straylight.oblivion.bg> <20020319210550.A2621@descent.robbins.dropbear.id.au> <20020319185509.B1316@schweikhardt.net> <20020320175902.A3989@descent.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020320175902.A3989@descent.robbins.dropbear.id.au>; from tim@robbins.dropbear.id.au on Wed, Mar 20, 2002 at 05:59:02PM +1100 Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Tim, On Wed, Mar 20, 2002 at 05:59:02PM +1100, Tim J. Robbins wrote: # On Tue, Mar 19, 2002 at 06:55:09PM +0100, Jens Schweikhardt wrote: # # > Then I'd consider rcp/scp broken as designed. I think choking on funny # > filenames is a POLA violation. # # Fix it then. While you are at it, here are some more for you to fix: [zap list] I already started with c89(1). # and when you're done with those, I will find some more for you. I know, but is this a reason to introduce more utilities that behave this way? I think not. # > If C is the only way to DTRT, so be it. Additional work to get something # > right instead of kludged up (and also violating the Standard!) was never a # > valid argument. # # There is way too much overlap with fstat for them to be separate programs, # but the structure of fstat does not present an easy way to make it act # as fuser. # # My script does not violate the standard; double quote (char. 34) is not # in the portable pathname character set. The POSIX 2001 portable pathname character set is [-._A-Za-z0-9] and we generally assume much more than that to be "portable", think foo,v. Yes, you handle foo,v in your script, but I *do* encounter more and more filenames with spaces or tabs in them (admitted, not in the base OS) and this is where almost all scripts are notoriously failing. Does it handle those too? I understand that sometimes it's hard to make bullet-proof software, but still I think it's a worthwhile goal -- and a value-add compared to other competing open source operating systems that shall remain nameless :-) Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message