[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: [ID 20000120.001] Diff to add print formatting to debugger



On Thu, Jan 20, 2000 at 01:07:25PM -0800, Jim Bodwin wrote:
> b> ) If you want this, why not use aliases?
> 
> Aliases don't work for arbitrary command string.

Do not they?  I thought they do.  If they do not, this is what need to
be addressed.

> I could do something like:
> 
>           =px p sprintf "\%x"
> 
> if I just want hex output but if I want to have more generic formats like
> 
> 	p%8x
> 
> aliases won't work (unless I define every possible alias ala =p1x,
> =p2x,....).

If you cannot alias an arbitrary string, alias 'p', and type things as

  p %8x $var

Ilya


References to:
Jim Bodwin <jbodwin@sebringring.com>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]