From owner-freebsd-chat Wed Jun 30 0:18:23 1999 Delivered-To: freebsd-chat@freebsd.org Received: from shell.futuresouth.com (shell.futuresouth.com [198.78.58.28]) by hub.freebsd.org (Postfix) with ESMTP id 868F114E0D for ; Wed, 30 Jun 1999 00:18:18 -0700 (PDT) (envelope-from fullermd@futuresouth.com) Received: (from fullermd@localhost) by shell.futuresouth.com (8.9.3/8.9.3) id CAA11507; Wed, 30 Jun 1999 02:17:57 -0500 (CDT) Date: Wed, 30 Jun 1999 02:17:57 -0500 From: "Matthew D. Fuller" To: Kris Kennaway Cc: Chris Piazza , chat@FreeBSD.ORG Subject: Useful aliases (was Re: cvs commit: ports LEGAL) Message-ID: <19990630021757.E26878@futuresouth.com> References: <19990629235629.A36035@norn.ca.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Kris Kennaway on Wed, Jun 30, 1999 at 04:35:09PM +0930 X-OS: FreeBSD Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Jun 30, 1999 at 04:35:09PM +0930, a little birdie told me that Kris Kennaway remarked > > I'd hate to see this set a precedent for committing things as ports which are > much better as trivial shell aliases or 1-line scripts. Maybe instead we could > create a page of 'useful aliases' or something to which people could make > their contributions. Hey, here's one [0] ;> (ttyp4):{143}% grep formatc .tcshrc alias formatc 'cat \!* | pr -t -e4 -n" "4' Most useful as 'formatc program.c | lpr', as it numbers the lines and whacks your tabs down to 4-char (like all sane tabstops should be [1] ). [0] I know cat isn't necessary. I'm too lazy to change it. [1] Note that I locally have a hacked copy of pico (yeah, but some of my collaborators use it) that, instead of the default hard-coded 8-char tabstops uses slightly less-hard-coded 4-char tabstops. The things I do... -- *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | Matthew Fuller MF4839 http://www.over-yonder.net/ | * fullermd@futuresouth.com fullermd@over-yonder.net * | UNIX Systems Administrator Specializing in FreeBSD | * FutureSouth Communications ISPHelp ISP Consulting * | "The only reason I'm burning my candle at both ends, | * is because I haven't figured out how to light the * | middle yet" | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message