From owner-freebsd-questions@FreeBSD.ORG Tue Apr 13 01:33:22 2004 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 00E6416A4CE for ; Tue, 13 Apr 2004 01:33:22 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE37743D1D for ; Tue, 13 Apr 2004 01:33:20 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i3D8XFMr015258 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Apr 2004 09:33:15 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i3D8XEHt015257; Tue, 13 Apr 2004 09:33:14 +0100 (BST) (envelope-from matthew) Date: Tue, 13 Apr 2004 09:33:14 +0100 From: Matthew Seaman To: thib Message-ID: <20040413083314.GC74322@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , thib , freebsd-questions@freebsd.org References: <20040413012934.31ca2d8b.thib@heimsnet.is> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZwgA9U+XZDXt4+m+" Content-Disposition: inline In-Reply-To: <20040413012934.31ca2d8b.thib@heimsnet.is> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040407, clamav-milter version 0.70g cc: freebsd-questions@freebsd.org Subject: Re: Now where should I post. :> 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: Tue, 13 Apr 2004 08:33:22 -0000 --ZwgA9U+XZDXt4+m+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 13, 2004 at 01:29:34AM +0000, thib wrote: > I just made a patch for cat(1) wich simply aborts if you try to cat a dir= ectory. > Now that I have the patch file and everything I stumbled on where I shoul= d post it and ask for it to be reviewd and perhaps commited.=20 > I thougt of -hackers ( Unlikely but I have seen a few posts there but sin= ce cat is a contributed software I don't know ) and then I thougt of -ports= but since this not a port of cat(1) so I don't really think so. Then I tho= ugt I should report this to the cat (gnu) project it self but since I'm usi= ng the FreeBSD API for this I did not think so. > And then I thougt about obrien@ since this: > "# $FreeBSD: src/bin/cat/Makefile,v 1.7 2001/12/04 01:57:37 obrien Exp $"= is in the Makefile for cat(1) but I really don't want to bother him if I'm= wrong. Submit a PR with your patch -- make it a 'change-request'. See send-pr(1) for instructions. However, I wouldn't hold out too much hope that your proposal will be adopted. cat(1) has been able to read directories since the epoch and suddenly changing that behaviour would probably result in howls of outrage from various places that depend on being able to do that. What you should do is add a command line option which switches on the behaviour you want -- say '-D' -- so that the default remains as it always was, but so that people wanting the new behaviour can alias cat as 'cat -D' Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --ZwgA9U+XZDXt4+m+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAe6XKdtESqEQa7a0RAqQiAJ0ZeYSX7To4p3sVLd35ovRYlutSogCffx80 Qr2x3PynVTi+CupdtD5Rrto= =n1eK -----END PGP SIGNATURE----- --ZwgA9U+XZDXt4+m+--