delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Subject: | Re: types "quad_t" & "u_quad_t" |
From: | Hannu E K Nevalainen <_garbage_collector_ AT telia DOT com> |
To: | cygwin AT cygwin DOT com |
In-Reply-To: | <422D0E03.E59790A2@dessent.net> |
References: | <422CCEE0 DOT 9070408 AT tlinx DOT org> <422CDA77 DOT 2236DAA2 AT dessent DOT net> <422D0A5A DOT 2070607 AT tlinx DOT org> <422D0E03 DOT E59790A2 AT dessent DOT net> |
Date: | Tue, 08 Mar 2005 20:16:05 +0100 |
Message-Id: | <1110309365.5616.10.camel@localhost.localdomain> |
Mime-Version: | 1.0 |
X-IsSubscribed: | yes |
On Mon, 2005-03-07 at 18:29 -0800, Brian Dessent wrote: > Linda W wrote: > > > hmph...never heard of it (even though I have it installed (*doh!*))... > > Sure take alot more characters to get a simple hex & ascii side-by-side > > dump! How am I gonna remember all that? :-) I often have to use > > the man page to figure out it's the "-C" option on hexdump to do that > > simple feat, but now I need to remember what?...egads! Well if ya'll > > is happy with that, that's fine w/me. > > Add the following to your ~/.profile then: > > alias od="od -A x -v -t x1z" > $ cat >>.profile <<EOD function od() { if [ -r "$1" ] ;then argline="-A x -v -t x1z -w24 $1" else # Problem with dual evaluation on argline? argline="$*" fi command od $argline argline= } EOD <UNTESTED/> If nothing else; you got the idea... > Now you can type "od foo" and never have to remember the arguments. If > you ever need to execute the "real" od without the added parameters you > can type "o\d" instead. > -- Hannu E K Nevalainen <_garbage_collector_ KANELBULLE telia.com> -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |