On Mon, Nov 14, 2011 at 06:13:34AM -0500, Philip Webb wrote:
> alias th='date -d @$1'
>
> was the first try, then adding '+' &/or '\' to escape '+' or '@'.
> I also tried a function along similar lines.
>
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.
W
--
Willie W. Wong [email protected]
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire
et vice versa ~~~ I. Newton