[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: status on $[arith] for eval arith vsl $((arith))??
From: |
Chet Ramey |
Subject: |
Re: status on $[arith] for eval arith vsl $((arith))?? |
Date: |
Tue, 10 Apr 2012 11:00:52 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 |
On 4/10/12 12:22 AM, Elliott Forney wrote:
> My two cents, would be to add a bit to the man page that says something like:
>
> -------
> For historical reasons, the following format is also supported for
> arithmetic evaluation:
>
> $[expression]
>
> Note, however, that this format is non-standard and that
> $((expression)) is preferred.
> -------
>
> At least that way there won't be an undocumented feature.
I don't mind an undocumented feature in this case, since the only reason
it's there is being carried along for backwards compatibility.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
- Re: status on $[arith] for eval arith vsl $((arith))??, (continued)
- Re: status on $[arith] for eval arith vsl $((arith))??, Chet Ramey, 2012/04/08
- Re: status on $[arith] for eval arith vsl $((arith))??, dethrophes, 2012/04/08
- Re: status on $[arith] for eval arith vsl $((arith))??, Maarten Billemont, 2012/04/09
- Re: status on $[arith] for eval arith vsl $((arith))??, Linda Walsh, 2012/04/09
- Re: status on $[arith] for eval arith vsl $((arith))??, Maarten Billemont, 2012/04/10
- Re: status on $[arith] for eval arith vsl $((arith))??, Chet Ramey, 2012/04/10
- Message not available
- Re: status on $[arith] for eval arith vsl $((arith))??, Aharon Robbins, 2012/04/09
- Re: status on $[arith] for eval arith vsl $((arith))??, Linda Walsh, 2012/04/09
- Re: status on $[arith] for eval arith vsl $((arith))??, Chet Ramey, 2012/04/09
- Re: status on $[arith] for eval arith vsl $((arith))??, Elliott Forney, 2012/04/10
- Re: status on $[arith] for eval arith vsl $((arith))??,
Chet Ramey <=
- Re: status on $[arith] for eval arith vsl $((arith))??, Linda Walsh, 2012/04/11
- Re: status on $[arith] for eval arith vsl $((arith))??, Greg Wooledge, 2012/04/11
- Re: status on $[arith] for eval arith vsl $((arith))??, Linda Walsh, 2012/04/12
- Re: status on $[arith] for eval arith vsl $((arith))??, Andreas Schwab, 2012/04/12
Re: status on $[arith] for eval arith vsl $((arith))??, Chris F.A. Johnson, 2012/04/08