From owner-freebsd-current@FreeBSD.ORG Thu Sep 7 09:30:43 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64A0D16A4DA for ; Thu, 7 Sep 2006 09:30:43 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE36343D49 for ; Thu, 7 Sep 2006 09:30:42 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (kdapat@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k879UY3A012984; Thu, 7 Sep 2006 11:30:39 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k879UXDq012983; Thu, 7 Sep 2006 11:30:33 +0200 (CEST) (envelope-from olli) Date: Thu, 7 Sep 2006 11:30:33 +0200 (CEST) Message-Id: <200609070930.k879UXDq012983@lurza.secnetix.de> From: Oliver Fromme To: freebsd-current@FreeBSD.ORG, bv@wjv.com, drosih@rpi.edu In-Reply-To: X-Newsgroups: list.freebsd-current User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 07 Sep 2006 11:30:40 +0200 (CEST) X-Mailman-Approved-At: Thu, 07 Sep 2006 12:07:19 +0000 Cc: Subject: Re: Adding a 'D - Date' option to 'cat' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 09:30:43 -0000 Garance A Drosihn wrote: > Bill Vermillion wrote: > > > > That's pretty much the basic Unix philosophy - a lot of small > > programs that can be chained together to do almost anything you can > > imagine, instead of putting all the POSSIBLE needed options into > > each program that MAY or MAY NOT need it. > > Well, the proposed option to `cat' is already dead, but just > as an aside: > > Notice what happens when some issue like this comes up. The > unix philosophy is supposedly to champion lots of small utility > programs. An issue like Julian's comes up, where no *small*, > well-designed utility can get the job done. What does everyone > suggest? Why, "Just load up a turing-complete multi-megabyte > executable like Perl [which FreeBSD won't even include in the > base OS because it's too much of a hassle], and then write/debug > your own perl script which can handle your job!". Gnu-awk is about 150 KB in size (which isn't huge, IMHO), and adding timestamps with it is a trivial one-liner. Admittedly it is not in the FreeBSD base system anymore (unfortunately), but adding it from ports or packages is only a matter of a few seconds. I'm using it all the time. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "It combines all the worst aspects of C and Lisp: a billion different sublanguages in one monolithic executable. It combines the power of C with the readability of PostScript." -- Jamie Zawinski, when asked: "What's wrong with perl?"