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

Re: Bash script problem



On Thu, 2021-08-05 at 10:36 +0300, Anssi Saari wrote:
[...]
> 
> [ A="0 ; " ]
> 
> is always true. It seems it probably has something to do with expansion,
> quoting and the special meaning of ;.
> 

; has no special meaning inside "". The expression is true because
there is only a single non-null argument between the [ ]

-- 
Tixy


Reply to: