111114 Willie Wong wrote:
> On Mon, Nov 14, 2011 at 06:13:34AM -0500, Philip Webb wrote:
>>   alias th='date -d @$1'
> That is not how you use alias. 
> What you want is to use a function. Replace the alias line by
>   function th { date -d @$1; }
> in your bashrc you'l probably be ok. 

That's what I thought I tried, but evidently not:

  function th { date -d @$1 ; }

does indeed work (with a space before ';').

Thanks for the various replies.

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca


Reply via email to