[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is comma operator defined by POSIX and supported by dash?

On 2020-03-22 Bagas Sanjaya <bagasdotme@gmail.com> wrote:
> Hello,

> According to [Bashism Wiki](https://mywiki.wooledge.org/Bashism):

>> The comma operator is widely supported by almost everything except dash
>> and yash -- even posh and Busybox. In ksh93 however, it conflicts with
>> the decimal radix in locales where it's used in floating points instead
>> of period

> Does it implied that arithmetic comma operator (`,`) isn't defined by POSIX
> shell specification? 

Hello Bagas,

I do not get why you are sending this mail. The web page above has
direct links to the posix specification. You can look there yourself.

> Does dash support it?

* Ditto. You are quoting "comma operator [...] supported [...] except dash"
  and still asking whether it is supported in dash. Aren't you a Debian
  user? Why don't you just try it out?

cu Andreas
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

Reply to: