Date: Tue, 13 Apr 2004 09:33:14 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: thib <thib@heimsnet.is> Cc: freebsd-questions@freebsd.org Subject: Re: Now where should I post. :> Message-ID: <20040413083314.GC74322@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040413012934.31ca2d8b.thib@heimsnet.is> References: <20040413012934.31ca2d8b.thib@heimsnet.is>
next in thread | previous in thread | raw e-mail | index | archive | help
--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+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040413083314.GC74322>