From owner-freebsd-standards Tue Mar 19 1:41:39 2002 Delivered-To: freebsd-standards@freebsd.org Received: from straylight.ringlet.net (discworld.nanolink.com [217.75.135.248]) by hub.freebsd.org (Postfix) with SMTP id EC54837B400 for ; Tue, 19 Mar 2002 01:41:33 -0800 (PST) Received: (qmail 11134 invoked by uid 1000); 19 Mar 2002 09:06:34 -0000 Date: Tue, 19 Mar 2002 11:06:34 +0200 From: Peter Pentchev To: "Tim J. Robbins" Cc: freebsd-standards@FreeBSD.org Subject: Re: standards/36076: Implementation of POSIX fuser command Message-ID: <20020319110634.H9136@straylight.oblivion.bg> References: <200203190810.g2J8A3761846@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="dMyqICaxQaaUjrCL" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200203190810.g2J8A3761846@freefall.freebsd.org>; from tim@robbins.dropbear.id.au on Tue, Mar 19, 2002 at 12:10:03AM -0800 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 --dMyqICaxQaaUjrCL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: > =20 > > This script breaks when the argument to -M contains shell field > > separators. > =20 > 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? G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 "yields falsehood, when appended to its quotation." yields falsehood, when = appended to its quotation. --dMyqICaxQaaUjrCL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjyW/5oACgkQ7Ri2jRYZRVPu7gCePMbQxv6J92neMSRBEqXHdG1T qgEAni9ZhCKjHhVC1qgo9YX8GqzbpdgG =DPE9 -----END PGP SIGNATURE----- --dMyqICaxQaaUjrCL-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message