From owner-freebsd-standards Tue Mar 19 2:27:18 2002 Delivered-To: freebsd-standards@freebsd.org Received: from espresso.q9media.com (espresso.q9media.com [216.254.138.122]) by hub.freebsd.org (Postfix) with ESMTP id 5378337B400 for ; Tue, 19 Mar 2002 02:27:15 -0800 (PST) Received: (from mike@localhost) by espresso.q9media.com (8.11.6/8.11.6) id g2JAKvP92304; Tue, 19 Mar 2002 05:20:57 -0500 (EST) (envelope-from mike) Date: Tue, 19 Mar 2002 05:20:57 -0500 From: Mike Barcroft To: Peter Pentchev Cc: "Tim J. Robbins" , freebsd-standards@FreeBSD.org Subject: Re: standards/36076: Implementation of POSIX fuser command Message-ID: <20020319052057.O56122@espresso.q9media.com> References: <200203190810.g2J8A3761846@freefall.freebsd.org> <20020319110634.H9136@straylight.oblivion.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020319110634.H9136@straylight.oblivion.bg>; from roam@ringlet.net on Tue, Mar 19, 2002 at 11:06:34AM +0200 Organization: The FreeBSD Project 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 Peter Pentchev writes: > On Tue, Mar 19, 2002 at 12:10:03AM -0800, Tim J. Robbins wrote: > > On Mon, Mar 18, 2002 at 10:38:42PM -0500, Garrett Wollman wrote: > > > > > This script breaks when the argument to -M contains shell field > > > separators. > > > > Thanks for the info; here is an updated version of the script that > > fixes this problem, as well as a problem in the output format caused > > by my misreading of the standard (the output is the same as Solaris now, > > except that it seems to use tabs where I use spaces). > > I must admit that I am a bit wary of having a shell script wrapper; > there are many ways a shell command could go wrong - field separators, > backticks, variable expansions... IMVHO, a Perl script might make > things a bit more secure. What do others think? I think Perl has even more language features that could result in things going wrong. Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message