Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 1999 02:17:57 -0500
From:      "Matthew D. Fuller" <fullermd@futuresouth.com>
To:        Kris Kennaway <kkennawa@physics.adelaide.edu.au>
Cc:        Chris Piazza <cpiazza@home.net>, chat@FreeBSD.ORG
Subject:   Useful aliases (was Re: cvs commit: ports LEGAL)
Message-ID:  <19990630021757.E26878@futuresouth.com>
In-Reply-To: <Pine.OSF.4.10.9906301631130.8049-100000@bragg>; from Kris Kennaway on Wed, Jun 30, 1999 at 04:35:09PM %2B0930
References:  <19990629235629.A36035@norn.ca.eu.org> <Pine.OSF.4.10.9906301631130.8049-100000@bragg>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990630021757.E26878>